Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001266/0.001266, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001429/0.001429, allocations: 217.4 kB / 22.25 MB, free: 4.855 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.789 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 2.986/2.986, allocations: 0.4892 GB / 0.7943 GB, free: 35.52 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_Water,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",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.002008/0.002008, allocations: 73.98 kB / 1.153 GB, free: 25.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3159, allocations: 176.1 MB / 1.325 GB, free: 2.266 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05682/0.3727, allocations: 50.43 MB / 1.374 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01716/0.3899, allocations: 9.756 MB / 1.384 GB, free: 5.891 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001802/0.3917, allocations: 95.12 kB / 1.384 GB, free: 5.797 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.3939, allocations: 0.9086 MB / 1.385 GB, free: 4.883 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005569/0.3995, allocations: 2.072 MB / 1.387 GB, free: 2.801 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.005146/0.4046, allocations: 2.015 MB / 1.389 GB, free: 0.7852 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.005586/0.4102, allocations: 3.812 MB / 1.393 GB, free: 12.96 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.4118, allocations: 0.9669 MB / 1.394 GB, free: 11.96 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003731/0.4156, allocations: 1.988 MB / 1.395 GB, free: 9.961 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001777/0.4173, allocations: 1.206 MB / 1.397 GB, free: 8.75 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001919/0.4175, allocations: 104 kB / 1.397 GB, free: 8.648 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002422/0.4199, allocations: 1.037 MB / 1.398 GB, free: 7.609 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004182/0.4204, allocations: 406.2 kB / 1.398 GB, free: 7.211 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008302/0.4212, allocations: 0.7034 MB / 1.399 GB, free: 6.504 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.4247, allocations: 2.432 MB / 1.401 GB, free: 4.062 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4247, allocations: 7.938 kB / 1.401 GB, free: 4.055 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4247, allocations: 0 / 1.401 GB, free: 4.055 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.174e-05/0.4248, allocations: 0 / 1.401 GB, free: 4.055 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003538/0.4283, allocations: 2.126 MB / 1.403 GB, free: 1.879 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.4283, allocations: 8.031 kB / 1.403 GB, free: 1.871 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001968/0.4285, allocations: 164.8 kB / 1.403 GB, free: 1.699 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003487/0.432, allocations: 0.6621 MB / 1.404 GB, free: 1.035 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002216/0.4342, allocations: 1.08 MB / 1.405 GB, free: 15.91 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.461e-05/0.4343, allocations: 90.08 kB / 1.405 GB, free: 15.82 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.4345, allocations: 108 kB / 1.405 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00312/0.4376, allocations: 1.504 MB / 1.407 GB, free: 14.06 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.4377, allocations: 7.938 kB / 1.407 GB, free: 14.05 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.4378, allocations: 44 kB / 1.407 GB, free: 14.01 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.4378, allocations: 28 kB / 1.407 GB, free: 13.98 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003603/0.4414, allocations: 1.237 MB / 1.408 GB, free: 12.74 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008945/0.4503, allocations: 6.592 MB / 1.415 GB, free: 5.914 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003385/0.4537, allocations: 1.059 MB / 1.416 GB, free: 4.848 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001595/0.4553, allocations: 0.5297 MB / 1.416 GB, free: 4.312 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009685/0.4563, allocations: 294.2 kB / 1.416 GB, free: 4.027 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001904/0.4582, allocations: 0.6763 MB / 1.417 GB, free: 3.34 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 2.966e-06/0.4582, allocations: 0 / 1.417 GB, free: 3.34 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.005493/0.4637, allocations: 1.826 MB / 1.419 GB, free: 1.512 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.262e-05/0.4637, allocations: 60.41 kB / 1.419 GB, free: 1.438 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002129/0.4659, allocations: 1.561 MB / 1.42 GB, free: 15.87 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-05/0.466, allocations: 41.7 kB / 1.42 GB, free: 15.82 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007298/0.4667, allocations: 0.8117 MB / 1.421 GB, free: 15 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002935/0.467, allocations: 309.4 kB / 1.422 GB, free: 14.7 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003535/0.4673, allocations: 226.8 kB / 1.422 GB, free: 14.47 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.4675, allocations: 349.9 kB / 1.422 GB, free: 14.12 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.4691, allocations: 0.5294 MB / 1.423 GB, free: 13.59 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.4712, allocations: 1.141 MB / 1.424 GB, free: 12.24 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/0.4748, allocations: 1.422 MB / 1.425 GB, free: 10.66 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.776e-06/0.4748, allocations: 4 kB / 1.425 GB, free: 10.66 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004351/0.4792, allocations: 1.629 MB / 1.427 GB, free: 9.02 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.4792, allocations: 8 kB / 1.427 GB, free: 9.012 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.4792, allocations: 12 kB / 1.427 GB, free: 9 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.045e-05/0.4792, allocations: 16 kB / 1.427 GB, free: 8.984 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.4807, allocations: 355.7 kB / 1.427 GB, free: 8.637 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.962e-05/0.4807, allocations: 27.92 kB / 1.427 GB, free: 8.609 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.4821, allocations: 226.8 kB / 1.427 GB, free: 8.387 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.4822, allocations: 63.97 kB / 1.427 GB, free: 8.324 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0006174/0.4828, allocations: 347.3 kB / 1.428 GB, free: 7.977 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.4831, allocations: 178.9 kB / 1.428 GB, free: 7.801 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005143/0.4883, allocations: 2.183 MB / 1.43 GB, free: 5.609 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.993e-05/0.4883, allocations: 19.98 kB / 1.43 GB, free: 5.59 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4883, allocations: 4 kB / 1.43 GB, free: 5.586 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.4883, allocations: 11.92 kB / 1.43 GB, free: 5.574 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006877/0.4952, allocations: 3.232 MB / 1.433 GB, free: 2.266 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4952, allocations: 0 / 1.433 GB, free: 2.266 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.4964, allocations: 247.8 kB / 1.433 GB, free: 2.023 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.4964, allocations: 4 kB / 1.433 GB, free: 2.02 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/0.4965, allocations: 43.95 kB / 1.433 GB, free: 1.977 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/0.4965, allocations: 8 kB / 1.433 GB, free: 1.969 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/0.4965, allocations: 4 kB / 1.433 GB, free: 1.965 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00662/0.5031, allocations: 2.826 MB / 1.436 GB, free: 15.1 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007482/0.5039, allocations: 330.3 kB / 1.437 GB, free: 14.78 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/0.5041, allocations: 28 kB / 1.437 GB, free: 14.75 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.5052, allocations: 115.8 kB / 1.437 GB, free: 14.64 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.5053, allocations: 84.84 kB / 1.437 GB, free: 14.55 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/0.5055, allocations: 51.95 kB / 1.437 GB, free: 14.5 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001492/0.5069, allocations: 1.046 MB / 1.438 GB, free: 13.46 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5069, allocations: 4 kB / 1.438 GB, free: 13.46 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001492/0.5084, allocations: 0.5496 MB / 1.438 GB, free: 12.91 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.009243/0.5177, allocations: 4.133 MB / 1.442 GB, free: 8.926 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004045/0.5217, allocations: 1.446 MB / 1.444 GB, free: 7.484 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5217, allocations: 0 / 1.444 GB, free: 7.484 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.5238, allocations: 0.791 MB / 1.445 GB, free: 6.691 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003269/0.5271, allocations: 0.731 MB / 1.445 GB, free: 5.973 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02428/0.5513, allocations: 12.77 MB / 1.458 GB, free: 8.664 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008495/0.5522, allocations: 0.7352 MB / 1.458 GB, free: 7.895 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001383/0.5536, allocations: 380.8 kB / 1.459 GB, free: 7.516 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001022/0.5546, allocations: 0.7139 MB / 1.46 GB, free: 6.801 MB / 1.154 GB Notification: Performance of SimCode: time 1.693e-06/0.5546, allocations: 0 / 1.46 GB, free: 6.801 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09932/0.6539, allocations: 51.91 MB / 1.51 GB, free: 3.727 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.21, allocations: 6.641 kB / 1.51 GB, free: 3.727 MB / 1.201 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.529603650327772]