Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001277/0.001277, allocations: 103 kB / 16.45 MB, free: 6.449 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.001491/0.001491, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.387/1.387, allocations: 230.6 MB / 252.8 MB, free: 9.117 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.024/3.024, allocations: 0.49 GB / 0.7916 GB, free: 33.41 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.001918/0.001918, allocations: 73.5 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3077/0.3096, allocations: 176.1 MB / 1.321 GB, free: 3.254 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.282/0.5916, allocations: 245.7 MB / 1.561 GB, free: 12.64 MB / 1.264 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.6066, allocations: 8.53 MB / 1.569 GB, free: 4.09 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.6089, allocations: 95.12 kB / 1.569 GB, free: 3.996 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.003149/0.6121, allocations: 1.076 MB / 1.57 GB, free: 2.914 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.008055/0.6201, allocations: 3.233 MB / 1.573 GB, free: 15.67 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.008415/0.6285, allocations: 3.499 MB / 1.577 GB, free: 12.16 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.006115/0.6347, allocations: 3.948 MB / 1.581 GB, free: 8.199 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002386/0.637, allocations: 1.17 MB / 1.582 GB, free: 6.996 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005311/0.6424, allocations: 2.293 MB / 1.584 GB, free: 4.695 MB / 1.279 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002689/0.645, allocations: 1.444 MB / 1.585 GB, free: 3.246 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.000458/0.6455, allocations: 124 kB / 1.586 GB, free: 3.125 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007502/0.653, allocations: 4.169 MB / 1.59 GB, free: 14.95 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.0009151/0.6539, allocations: 0.6073 MB / 1.59 GB, free: 14.34 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.002127/0.656, allocations: 0.983 MB / 1.591 GB, free: 13.35 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.009007/0.6651, allocations: 3.873 MB / 1.595 GB, free: 9.461 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.6651, allocations: 4 kB / 1.595 GB, free: 9.457 MB / 1.295 GB Notification: Performance of FrontEnd: time 2.195e-06/0.6651, allocations: 4 kB / 1.595 GB, free: 9.453 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0001045/0.6652, allocations: 0 / 1.595 GB, free: 9.453 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.007574/0.6727, allocations: 2.73 MB / 1.598 GB, free: 6.652 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6728, allocations: 15.98 kB / 1.598 GB, free: 6.637 MB / 1.295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003019/0.6731, allocations: 194.4 kB / 1.598 GB, free: 6.438 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007349/0.6804, allocations: 1.091 MB / 1.599 GB, free: 5.344 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002872/0.6833, allocations: 1.272 MB / 1.6 GB, free: 4.02 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.6835, allocations: 98.56 kB / 1.6 GB, free: 3.922 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.6838, allocations: 135.9 kB / 1.6 GB, free: 3.789 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.6882, allocations: 1.987 MB / 1.602 GB, free: 1.656 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.6883, allocations: 7.938 kB / 1.602 GB, free: 1.648 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/0.6884, allocations: 52 kB / 1.602 GB, free: 1.598 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.761e-05/0.6885, allocations: 62.3 kB / 1.602 GB, free: 1.535 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6006/1.289, allocations: 1.873 MB / 1.604 GB, free: 281.9 MB / 1.295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01091/1.3, allocations: 9.16 MB / 1.613 GB, free: 275.8 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004355/1.304, allocations: 1.543 MB / 1.615 GB, free: 275.4 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/1.306, allocations: 0.7463 MB / 1.615 GB, free: 275.2 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007645/1.307, allocations: 0.5867 MB / 1.616 GB, free: 274.6 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002101/1.309, allocations: 0.8707 MB / 1.617 GB, free: 274.3 MB / 1.295 GB Notification: Performance of pre-optimization done (n=104): time 2.826e-06/1.309, allocations: 0 / 1.617 GB, free: 274.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=104): time 0.00662/1.316, allocations: 2.315 MB / 1.619 GB, free: 273.7 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.316, allocations: 67.83 kB / 1.619 GB, free: 273.6 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002834/1.319, allocations: 1.692 MB / 1.621 GB, free: 273 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/1.319, allocations: 48.23 kB / 1.621 GB, free: 272.9 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/1.319, allocations: 0.8644 MB / 1.622 GB, free: 272.3 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.32, allocations: 378.3 kB / 1.622 GB, free: 272.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004596/1.32, allocations: 238.5 kB / 1.622 GB, free: 272 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 9.066e-05/1.32, allocations: 351.8 kB / 1.623 GB, free: 271.6 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002055/1.322, allocations: 0.667 MB / 1.623 GB, free: 271.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/1.324, allocations: 1.052 MB / 1.624 GB, free: 270.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003702/1.328, allocations: 1.718 MB / 1.626 GB, free: 270 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.328, allocations: 11.97 kB / 1.626 GB, free: 270 MB / 1.295 GB Notification: Performance of matching and sorting (n=157) (initialization): time 0.004712/1.333, allocations: 1.912 MB / 1.628 GB, free: 269.4 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/1.333, allocations: 10.84 kB / 1.628 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/1.333, allocations: 11.36 kB / 1.628 GB, free: 269.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.53e-05/1.333, allocations: 22.69 kB / 1.628 GB, free: 269.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/1.335, allocations: 365.8 kB / 1.628 GB, free: 269.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/1.335, allocations: 24.2 kB / 1.628 GB, free: 269.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001745/1.336, allocations: 249 kB / 1.629 GB, free: 269.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/1.337, allocations: 70.52 kB / 1.629 GB, free: 269.2 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 157 * 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 prepare postOptimizeDAE: time 0.000651/1.337, allocations: 402.5 kB / 1.629 GB, free: 269 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/1.337, allocations: 198.1 kB / 1.629 GB, free: 268.9 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004587/1.342, allocations: 1.791 MB / 1.631 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/1.342, allocations: 11.33 kB / 1.631 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/1.342, allocations: 0 / 1.631 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/1.342, allocations: 7.641 kB / 1.631 GB, free: 268.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007326/1.349, allocations: 3.95 MB / 1.635 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.649e-06/1.349, allocations: 5.562 kB / 1.635 GB, free: 266.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001445/1.351, allocations: 265 kB / 1.635 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.409e-05/1.351, allocations: 11.28 kB / 1.635 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.626e-05/1.351, allocations: 38.86 kB / 1.635 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/1.351, allocations: 19.47 kB / 1.635 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/1.351, allocations: 7.438 kB / 1.635 GB, free: 266.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006132/1.357, allocations: 2.867 MB / 1.638 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007821/1.358, allocations: 396.7 kB / 1.638 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002234/1.358, allocations: 31.94 kB / 1.638 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00137/1.36, allocations: 129.5 kB / 1.639 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/1.36, allocations: 85.25 kB / 1.639 GB, free: 265 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.545e-05/1.36, allocations: 43.97 kB / 1.639 GB, free: 265 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001416/1.361, allocations: 1.159 MB / 1.64 GB, free: 264.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 7e-08/1.361, allocations: 0 / 1.64 GB, free: 264.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001354/1.363, allocations: 466 kB / 1.64 GB, free: 264.3 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.007159/1.37, allocations: 3.911 MB / 1.644 GB, free: 262 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003775/1.374, allocations: 1.567 MB / 1.646 GB, free: 261.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/1.374, allocations: 0 / 1.646 GB, free: 261.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/1.375, allocations: 0.7743 MB / 1.646 GB, free: 260.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.379, allocations: 0.9358 MB / 1.647 GB, free: 260.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02414/1.403, allocations: 15 MB / 1.662 GB, free: 246.2 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005759/1.404, allocations: 1.368 MB / 1.663 GB, free: 244.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001472/1.405, allocations: 456.5 kB / 1.664 GB, free: 244.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008273/1.406, allocations: 0.714 MB / 1.664 GB, free: 243.6 MB / 1.295 GB Notification: Performance of SimCode: time 8.82e-07/1.406, allocations: 0 / 1.664 GB, free: 243.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07604/1.482, allocations: 49.32 MB / 1.713 GB, free: 194.9 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.77/13.25, allocations: 7.984 kB / 1.713 GB, free: 194.9 MB / 1.295 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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: 19.74440335482359]