Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001459/0.001459, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001772/0.001772, allocations: 214.5 kB / 22.24 MB, free: 5.258 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.311/1.311, allocations: 230.6 MB / 256 MB, free: 7.777 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.929/2.929, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_latest_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.001921/0.001921, allocations: 66.78 kB / 1.186 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3094, allocations: 181.9 MB / 1.363 GB, free: 14.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05334/0.3627, allocations: 50.44 MB / 1.413 GB, free: 11.43 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.01513/0.3779, allocations: 9.757 MB / 1.422 GB, free: 1.652 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.3795, allocations: 91.19 kB / 1.422 GB, free: 1.562 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.3814, allocations: 0.9086 MB / 1.423 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004511/0.386, allocations: 2.072 MB / 1.425 GB, free: 14.57 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.004387/0.3903, allocations: 2.015 MB / 1.427 GB, free: 12.55 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.004596/0.3949, allocations: 3.812 MB / 1.431 GB, free: 8.727 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.3966, allocations: 0.9708 MB / 1.432 GB, free: 7.727 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.4001, allocations: 1.988 MB / 1.434 GB, free: 5.73 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001881/0.402, allocations: 1.198 MB / 1.435 GB, free: 4.527 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0002615/0.4023, allocations: 108 kB / 1.435 GB, free: 4.422 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00224/0.4045, allocations: 1.037 MB / 1.436 GB, free: 3.383 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.405, allocations: 414.2 kB / 1.436 GB, free: 2.977 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0009432/0.4059, allocations: 0.6995 MB / 1.437 GB, free: 2.273 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.003427/0.4094, allocations: 2.432 MB / 1.44 GB, free: 15.83 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.4094, allocations: 0 / 1.44 GB, free: 15.83 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4094, allocations: 0 / 1.44 GB, free: 15.83 MB / 1.139 GB Notification: Performance of Transformations before backend: time 5.559e-05/0.4094, allocations: 0 / 1.44 GB, free: 15.83 MB / 1.139 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.003669/0.4131, allocations: 2.13 MB / 1.442 GB, free: 13.65 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.4131, allocations: 11.97 kB / 1.442 GB, free: 13.64 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.4133, allocations: 164.7 kB / 1.442 GB, free: 13.47 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003377/0.4167, allocations: 0.6582 MB / 1.442 GB, free: 12.81 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.4187, allocations: 1.087 MB / 1.443 GB, free: 11.68 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.957e-05/0.4188, allocations: 86.08 kB / 1.444 GB, free: 11.59 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/0.419, allocations: 112 kB / 1.444 GB, free: 11.48 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002981/0.422, allocations: 1.5 MB / 1.445 GB, free: 9.828 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.018e-05/0.422, allocations: 7.938 kB / 1.445 GB, free: 9.82 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.684e-05/0.4221, allocations: 44 kB / 1.445 GB, free: 9.777 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.522e-05/0.4221, allocations: 28 kB / 1.445 GB, free: 9.75 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003454/0.4256, allocations: 1.241 MB / 1.446 GB, free: 8.512 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008219/0.4338, allocations: 6.584 MB / 1.453 GB, free: 1.688 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00329/0.4371, allocations: 1.055 MB / 1.454 GB, free: 0.6289 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001568/0.4386, allocations: 0.5297 MB / 1.454 GB, free: 96 kB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009369/0.4396, allocations: 286.2 kB / 1.455 GB, free: 15.82 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001833/0.4414, allocations: 0.6802 MB / 1.455 GB, free: 15.13 MB / 1.154 GB Notification: Performance of pre-optimization done (n=85): time 2.455e-06/0.4414, allocations: 0 / 1.455 GB, free: 15.13 MB / 1.154 GB Notification: Performance of matching and sorting (n=85): time 0.005242/0.4467, allocations: 1.826 MB / 1.457 GB, free: 13.3 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.167e-05/0.4467, allocations: 64.39 kB / 1.457 GB, free: 13.22 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/0.4486, allocations: 1.561 MB / 1.459 GB, free: 11.65 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 8.898e-05/0.4487, allocations: 41.7 kB / 1.459 GB, free: 11.61 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006841/0.4494, allocations: 0.8078 MB / 1.46 GB, free: 10.79 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002835/0.4497, allocations: 317.4 kB / 1.46 GB, free: 10.48 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.45, allocations: 218.8 kB / 1.46 GB, free: 10.26 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.4502, allocations: 353.9 kB / 1.46 GB, free: 9.906 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.4518, allocations: 0.5217 MB / 1.461 GB, free: 9.383 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002033/0.4538, allocations: 1.133 MB / 1.462 GB, free: 8.035 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/0.4573, allocations: 1.434 MB / 1.463 GB, free: 6.449 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.4573, allocations: 4 kB / 1.463 GB, free: 6.445 MB / 1.154 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004215/0.4615, allocations: 1.621 MB / 1.465 GB, free: 4.812 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.4615, allocations: 8 kB / 1.465 GB, free: 4.805 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/0.4616, allocations: 12 kB / 1.465 GB, free: 4.793 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.4616, allocations: 16 kB / 1.465 GB, free: 4.777 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.463, allocations: 359.7 kB / 1.465 GB, free: 4.426 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/0.463, allocations: 23.92 kB / 1.465 GB, free: 4.402 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.4644, allocations: 226.8 kB / 1.466 GB, free: 4.18 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001174/0.4645, allocations: 63.97 kB / 1.466 GB, free: 4.117 MB / 1.154 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.0006068/0.4651, allocations: 351.4 kB / 1.466 GB, free: 3.766 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.4654, allocations: 178.8 kB / 1.466 GB, free: 3.59 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/0.4704, allocations: 2.183 MB / 1.468 GB, free: 1.398 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.144e-05/0.4705, allocations: 19.98 kB / 1.468 GB, free: 1.379 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.4705, allocations: 4.094 kB / 1.468 GB, free: 1.375 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.4705, allocations: 11.86 kB / 1.468 GB, free: 1.363 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006551/0.477, allocations: 3.239 MB / 1.471 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.317e-06/0.477, allocations: 4 kB / 1.472 GB, free: 14.05 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.4782, allocations: 243.8 kB / 1.472 GB, free: 13.81 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.4782, allocations: 8 kB / 1.472 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.097e-05/0.4783, allocations: 43.95 kB / 1.472 GB, free: 13.76 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/0.4783, allocations: 8 kB / 1.472 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4783, allocations: 0 / 1.472 GB, free: 13.75 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006391/0.4847, allocations: 2.83 MB / 1.475 GB, free: 10.88 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000654/0.4853, allocations: 334.2 kB / 1.475 GB, free: 10.55 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000182/0.4855, allocations: 24 kB / 1.475 GB, free: 10.53 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.4866, allocations: 115.9 kB / 1.475 GB, free: 10.42 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.4867, allocations: 80.84 kB / 1.475 GB, free: 10.34 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.689e-05/0.4868, allocations: 47.97 kB / 1.475 GB, free: 10.29 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001425/0.4882, allocations: 1.05 MB / 1.476 GB, free: 9.25 MB / 1.17 GB Notification: Performance of sort global known variables: time 9e-08/0.4882, allocations: 0 / 1.476 GB, free: 9.25 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.001367/0.4896, allocations: 0.5535 MB / 1.477 GB, free: 8.695 MB / 1.17 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.008936/0.4985, allocations: 4.128 MB / 1.481 GB, free: 4.711 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.00393/0.5025, allocations: 1.45 MB / 1.482 GB, free: 3.262 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.5025, allocations: 0 / 1.482 GB, free: 3.262 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/0.5045, allocations: 0.787 MB / 1.483 GB, free: 2.473 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.5076, allocations: 0.7347 MB / 1.484 GB, free: 1.754 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02324/0.5309, allocations: 12.76 MB / 1.496 GB, free: 4.457 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000829/0.5317, allocations: 0.7313 MB / 1.497 GB, free: 3.691 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.001299/0.533, allocations: 376.8 kB / 1.497 GB, free: 3.316 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000951/0.534, allocations: 0.7101 MB / 1.498 GB, free: 2.605 MB / 1.186 GB Notification: Performance of SimCode: time 7.02e-07/0.534, allocations: 0 / 1.498 GB, free: 2.605 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09761/0.6316, allocations: 51.91 MB / 1.549 GB, free: 15.52 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.83, allocations: 7.203 kB / 1.549 GB, free: 15.51 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.03984915278852]