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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 108.9 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002002/0.002002, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.228/3.228, allocations: 497.2 MB / 0.7811 GB, free: 33.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002492/0.002492, allocations: 73.05 kB / 1.134 GB, free: 33.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3668, allocations: 173.9 MB / 1.304 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05927/0.4261, allocations: 54.96 MB / 1.358 GB, free: 10.36 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01714/0.4432, allocations: 10.38 MB / 1.368 GB, free: 15.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002629/0.4459, allocations: 67.56 kB / 1.368 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002714/0.4486, allocations: 0.9164 MB / 1.369 GB, free: 14.96 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.006384/0.455, allocations: 2.002 MB / 1.371 GB, free: 12.95 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006875/0.4619, allocations: 2.113 MB / 1.373 GB, free: 10.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006427/0.4683, allocations: 3.757 MB / 1.376 GB, free: 7.07 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00238/0.4707, allocations: 1.001 MB / 1.377 GB, free: 6.047 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00492/0.4756, allocations: 1.922 MB / 1.379 GB, free: 4.117 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002521/0.4781, allocations: 1.253 MB / 1.381 GB, free: 2.859 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0005152/0.4786, allocations: 104 kB / 1.381 GB, free: 2.758 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003781/0.4824, allocations: 1.337 MB / 1.382 GB, free: 1.418 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0007233/0.4831, allocations: 402.2 kB / 1.382 GB, free: 1.023 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00185/0.485, allocations: 0.843 MB / 1.383 GB, free: 180 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005954/0.4909, allocations: 2.463 MB / 1.386 GB, free: 13.7 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.4909, allocations: 8 kB / 1.386 GB, free: 13.7 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4909, allocations: 0 / 1.386 GB, free: 13.7 MB / 1.092 GB Notification: Performance of Transformations before backend: time 9.059e-05/0.491, allocations: 0 / 1.386 GB, free: 13.7 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.004304/0.4953, allocations: 2.185 MB / 1.388 GB, free: 11.44 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4954, allocations: 12.92 kB / 1.388 GB, free: 11.43 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001901/0.4956, allocations: 164.7 kB / 1.388 GB, free: 11.26 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/0.4991, allocations: 0.6582 MB / 1.389 GB, free: 10.6 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.5014, allocations: 1.192 MB / 1.39 GB, free: 9.352 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/0.5015, allocations: 94.08 kB / 1.39 GB, free: 9.258 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.5017, allocations: 108 kB / 1.39 GB, free: 9.152 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00314/0.5048, allocations: 1.492 MB / 1.391 GB, free: 7.504 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.5049, allocations: 7.938 kB / 1.391 GB, free: 7.496 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000115/0.505, allocations: 48 kB / 1.391 GB, free: 7.449 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.735e-05/0.505, allocations: 28 kB / 1.391 GB, free: 7.422 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003643/0.5086, allocations: 1.221 MB / 1.393 GB, free: 6.199 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/0.5191, allocations: 8.39 MB / 1.401 GB, free: 13.19 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003208/0.5223, allocations: 1.05 MB / 1.402 GB, free: 12.14 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001504/0.5238, allocations: 0.5219 MB / 1.402 GB, free: 11.61 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00249/0.5263, allocations: 2.89 MB / 1.405 GB, free: 8.074 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001873/0.5281, allocations: 0.68 MB / 1.406 GB, free: 7.387 MB / 1.107 GB Notification: Performance of pre-optimization done (n=85): time 3.476e-06/0.5281, allocations: 0 / 1.406 GB, free: 7.387 MB / 1.107 GB Notification: Performance of matching and sorting (n=85): time 0.005332/0.5335, allocations: 1.795 MB / 1.408 GB, free: 5.582 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.5335, allocations: 64.39 kB / 1.408 GB, free: 5.508 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002195/0.5357, allocations: 1.489 MB / 1.409 GB, free: 4.012 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001108/0.5358, allocations: 45.7 kB / 1.409 GB, free: 3.961 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007109/0.5366, allocations: 0.7882 MB / 1.41 GB, free: 3.164 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/0.5369, allocations: 317.3 kB / 1.41 GB, free: 2.852 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003422/0.5372, allocations: 226.8 kB / 1.41 GB, free: 2.625 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001757/0.5374, allocations: 345.9 kB / 1.411 GB, free: 2.281 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.539, allocations: 0.5256 MB / 1.411 GB, free: 1.754 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001955/0.5409, allocations: 0.8992 MB / 1.412 GB, free: 0.6953 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.5445, allocations: 1.414 MB / 1.414 GB, free: 15.12 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.053e-05/0.5445, allocations: 0 / 1.414 GB, free: 15.12 MB / 1.123 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004562/0.549, allocations: 1.613 MB / 1.415 GB, free: 13.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.5491, allocations: 12 kB / 1.415 GB, free: 13.49 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.5491, allocations: 12 kB / 1.415 GB, free: 13.48 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.66e-05/0.5491, allocations: 16 kB / 1.415 GB, free: 13.46 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.5505, allocations: 348 kB / 1.415 GB, free: 13.12 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.654e-05/0.5506, allocations: 23.88 kB / 1.415 GB, free: 13.1 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.5522, allocations: 230.8 kB / 1.416 GB, free: 12.88 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.5523, allocations: 67.97 kB / 1.416 GB, free: 12.81 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.000692/0.553, allocations: 335.7 kB / 1.416 GB, free: 12.47 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/0.5535, allocations: 178.9 kB / 1.416 GB, free: 12.29 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00529/0.5588, allocations: 2.096 MB / 1.418 GB, free: 10.18 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.119e-05/0.5588, allocations: 19.98 kB / 1.418 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5588, allocations: 0 / 1.418 GB, free: 10.16 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.89e-05/0.5588, allocations: 11.91 kB / 1.418 GB, free: 10.15 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007443/0.5663, allocations: 3.298 MB / 1.422 GB, free: 6.777 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/0.5663, allocations: 0 / 1.422 GB, free: 6.777 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/0.5675, allocations: 231.8 kB / 1.422 GB, free: 6.551 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.661e-05/0.5675, allocations: 4 kB / 1.422 GB, free: 6.547 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.5676, allocations: 39.97 kB / 1.422 GB, free: 6.508 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/0.5676, allocations: 4 kB / 1.422 GB, free: 6.504 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.5676, allocations: 3.938 kB / 1.422 GB, free: 6.5 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006646/0.5743, allocations: 2.698 MB / 1.424 GB, free: 3.766 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.5753, allocations: 399.5 kB / 1.425 GB, free: 3.355 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004098/0.5757, allocations: 20.09 kB / 1.425 GB, free: 3.336 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.5771, allocations: 127.8 kB / 1.425 GB, free: 3.211 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/0.5773, allocations: 84.77 kB / 1.425 GB, free: 3.129 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/0.5774, allocations: 55.95 kB / 1.425 GB, free: 3.074 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001813/0.5792, allocations: 0.9987 MB / 1.426 GB, free: 2.082 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5792, allocations: 0 / 1.426 GB, free: 2.082 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001916/0.5811, allocations: 0.5496 MB / 1.427 GB, free: 1.531 MB / 1.123 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 (110): * Single equations (assignments): 79 * 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.009634/0.5908, allocations: 3.987 MB / 1.431 GB, free: 13.68 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.004254/0.595, allocations: 1.414 MB / 1.432 GB, free: 12.27 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.595, allocations: 0 / 1.432 GB, free: 12.27 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.5972, allocations: 0.7442 MB / 1.433 GB, free: 11.53 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003696/0.6009, allocations: 0.7327 MB / 1.433 GB, free: 10.81 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/0.6275, allocations: 12.58 MB / 1.446 GB, free: 13.69 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.6287, allocations: 1.301 MB / 1.447 GB, free: 12.36 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001568/0.6303, allocations: 380.8 kB / 1.447 GB, free: 11.98 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.6314, allocations: 0.7022 MB / 1.448 GB, free: 11.28 MB / 1.154 GB Notification: Performance of SimCode: time 1.362e-06/0.6314, allocations: 4 kB / 1.448 GB, free: 11.28 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1082/0.7397, allocations: 47.7 MB / 1.495 GB, free: 12.18 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.69/12.43, allocations: 3.984 kB / 1.495 GB, free: 12.17 MB / 1.201 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_2/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.317957871593535]