Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 215 kB / 22.25 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.319/1.319, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.964/2.964, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 62.8 kB / 1.186 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.3001, allocations: 181.9 MB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain): time 0.003196/0.3033, allocations: 2.094 MB / 1.365 GB, free: 11.96 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005053/0.3084, allocations: 3.935 MB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.099e-05/0.3085, allocations: 7.938 kB / 1.369 GB, free: 7.992 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006865/0.3092, allocations: 175.1 kB / 1.369 GB, free: 7.82 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.3093, allocations: 83.28 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.31, allocations: 334.4 kB / 1.37 GB, free: 7.414 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006129/0.3106, allocations: 454.6 kB / 1.37 GB, free: 6.969 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3107, allocations: 40.88 kB / 1.37 GB, free: 6.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3109, allocations: 139.5 kB / 1.37 GB, free: 6.793 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002056/0.3111, allocations: 151.3 kB / 1.371 GB, free: 6.645 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.3112, allocations: 24 kB / 1.371 GB, free: 6.621 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005379/0.3117, allocations: 331.5 kB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001213/0.3118, allocations: 111.6 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001414/0.312, allocations: 143.2 kB / 1.371 GB, free: 6.047 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.3126, allocations: 0.5876 MB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.3126, allocations: 0 / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3126, allocations: 0 / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.3126, allocations: 0 / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.001396/0.314, allocations: 0.747 MB / 1.372 GB, free: 4.672 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.3141, allocations: 12.03 kB / 1.373 GB, free: 4.66 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.3141, allocations: 46.69 kB / 1.373 GB, free: 4.605 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001903/0.316, allocations: 312.2 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000959/0.317, allocations: 352.7 kB / 1.373 GB, free: 3.934 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.317, allocations: 12.31 kB / 1.373 GB, free: 3.922 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.317, allocations: 12 kB / 1.373 GB, free: 3.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007155/0.3177, allocations: 267 kB / 1.373 GB, free: 3.645 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3178, allocations: 4 kB / 1.373 GB, free: 3.641 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.3178, allocations: 0 / 1.373 GB, free: 3.641 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.3178, allocations: 4 kB / 1.373 GB, free: 3.637 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.3188, allocations: 343.6 kB / 1.374 GB, free: 3.301 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001546/0.3204, allocations: 0.6361 MB / 1.374 GB, free: 2.621 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.321, allocations: 226.4 kB / 1.375 GB, free: 2.391 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005535/0.3216, allocations: 176.7 kB / 1.375 GB, free: 2.215 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.947e-05/0.3216, allocations: 15.98 kB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3216, allocations: 38.56 kB / 1.375 GB, free: 2.152 MB / 1.061 GB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.3216, allocations: 0 / 1.375 GB, free: 2.152 MB / 1.061 GB Notification: Performance of matching and sorting (n=13): time 0.001826/0.3235, allocations: 0.5871 MB / 1.375 GB, free: 1.559 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.3235, allocations: 59.41 kB / 1.375 GB, free: 1.488 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004837/0.324, allocations: 449.8 kB / 1.376 GB, free: 1.039 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.324, allocations: 29.7 kB / 1.376 GB, free: 1.004 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001595/0.3242, allocations: 196.4 kB / 1.376 GB, free: 0.8086 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.3242, allocations: 47.58 kB / 1.376 GB, free: 0.7617 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/0.3244, allocations: 53.67 kB / 1.376 GB, free: 0.7031 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3245, allocations: 350.8 kB / 1.377 GB, free: 360 kB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007151/0.3252, allocations: 345.7 kB / 1.377 GB, free: 8 kB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007327/0.326, allocations: 345.9 kB / 1.377 GB, free: 15.66 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.3272, allocations: 0.5265 MB / 1.378 GB, free: 15.13 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3272, allocations: 11.88 kB / 1.378 GB, free: 15.12 MB / 1.076 GB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001543/0.3288, allocations: 0.783 MB / 1.379 GB, free: 14.32 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.3288, allocations: 49.67 kB / 1.379 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3288, allocations: 0 / 1.379 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.3288, allocations: 0 / 1.379 GB, free: 14.26 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004895/0.3293, allocations: 67.92 kB / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.3293, allocations: 0 / 1.379 GB, free: 14.2 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.3297, allocations: 63.66 kB / 1.379 GB, free: 14.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.617e-05/0.3297, allocations: 8 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001781/0.3299, allocations: 162.8 kB / 1.379 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.077e-05/0.33, allocations: 43.75 kB / 1.379 GB, free: 13.91 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3313, allocations: 468.8 kB / 1.379 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3313, allocations: 0 / 1.379 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3313, allocations: 3.938 kB / 1.379 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3313, allocations: 7.938 kB / 1.379 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.3317, allocations: 312.4 kB / 1.38 GB, free: 13.09 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3317, allocations: 7.984 kB / 1.38 GB, free: 13.08 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.3322, allocations: 55.92 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3322, allocations: 0 / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.3322, allocations: 11.98 kB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.3322, allocations: 0 / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3322, allocations: 0 / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001243/0.3334, allocations: 0.521 MB / 1.38 GB, free: 12.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.3336, allocations: 75.59 kB / 1.38 GB, free: 12.41 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.3337, allocations: 4 kB / 1.38 GB, free: 12.4 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003859/0.334, allocations: 39.94 kB / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/0.3341, allocations: 19.91 kB / 1.38 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.3341, allocations: 4 kB / 1.38 GB, free: 12.34 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000333/0.3345, allocations: 319.1 kB / 1.381 GB, free: 12.03 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3345, allocations: 0 / 1.381 GB, free: 12.03 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004426/0.3349, allocations: 123.9 kB / 1.381 GB, free: 11.91 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00178/0.3367, allocations: 1.13 MB / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001423/0.3381, allocations: 0.6374 MB / 1.383 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3381, allocations: 0 / 1.383 GB, free: 10.1 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000573/0.3387, allocations: 195.7 kB / 1.383 GB, free: 9.906 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000447/0.3391, allocations: 68.61 kB / 1.383 GB, free: 9.844 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008054/0.3472, allocations: 5.483 MB / 1.388 GB, free: 4.238 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001924/0.3474, allocations: 195.5 kB / 1.388 GB, free: 4.031 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0002973/0.3477, allocations: 65.91 kB / 1.388 GB, free: 3.969 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002472/0.3479, allocations: 119.4 kB / 1.388 GB, free: 3.852 MB / 1.076 GB Notification: Performance of SimCode: time 5.21e-07/0.3479, allocations: 0 / 1.388 GB, free: 3.852 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0377/0.3856, allocations: 10.34 MB / 1.399 GB, free: 9.719 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.32/10.71, allocations: 10.88 kB / 1.399 GB, free: 9.715 MB / 1.092 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAESolarGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAESolarGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.67878510709852]