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.0008444/0.0008444, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009132/0.0009132, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8375/0.8375, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 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 1.667/1.667, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.265e-05/1.403e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.4699/0.4699, allocations: 49.94 MB / 1.048 GB, free: 44.01 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009713/0.4796, allocations: 9.719 MB / 1.058 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001977/0.4816, allocations: 92.34 kB / 1.058 GB, free: 43.84 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.4839, allocations: 0.9151 MB / 1.059 GB, free: 43.81 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004724/0.4887, allocations: 2.118 MB / 1.061 GB, free: 43.37 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.4929, allocations: 2.122 MB / 1.063 GB, free: 43.22 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004138/0.4971, allocations: 3.771 MB / 1.067 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001463/0.4985, allocations: 0.9469 MB / 1.068 GB, free: 41.71 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003467/0.502, allocations: 2.42 MB / 1.07 GB, free: 40.88 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001583/0.5036, allocations: 1.063 MB / 1.071 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.5038, allocations: 109.6 kB / 1.071 GB, free: 40.68 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002054/0.5058, allocations: 1.056 MB / 1.072 GB, free: 40.4 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002809/0.5061, allocations: 411 kB / 1.073 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006522/0.5068, allocations: 0.5706 MB / 1.073 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.5101, allocations: 2.426 MB / 1.076 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.5101, allocations: 0 / 1.076 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5101, allocations: 0 / 1.076 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 3.419e-05/0.5101, allocations: 2.562 kB / 1.076 GB, free: 39.3 MB / 0.9948 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.002515/0.5127, allocations: 2.098 MB / 1.078 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.5127, allocations: 11.22 kB / 1.078 GB, free: 37.97 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/0.5128, allocations: 162.7 kB / 1.078 GB, free: 37.86 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001727/0.5145, allocations: 0.6639 MB / 1.078 GB, free: 37.72 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001343/0.5159, allocations: 1.061 MB / 1.079 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.861e-05/0.5159, allocations: 84.05 kB / 1.08 GB, free: 37.13 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.516, allocations: 109.1 kB / 1.08 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.5177, allocations: 1.509 MB / 1.081 GB, free: 36.33 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.134e-05/0.5177, allocations: 5.375 kB / 1.081 GB, free: 36.33 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.939e-05/0.5178, allocations: 44.75 kB / 1.081 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.5178, allocations: 32.5 kB / 1.081 GB, free: 36.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.52, allocations: 1.241 MB / 1.082 GB, free: 35.97 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00584/0.5258, allocations: 6.559 MB / 1.089 GB, free: 31.22 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002012/0.5278, allocations: 1.064 MB / 1.09 GB, free: 30.93 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008717/0.5287, allocations: 0.539 MB / 1.09 GB, free: 30.78 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000601/0.5293, allocations: 285.3 kB / 1.091 GB, free: 30.73 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/0.5304, allocations: 0.6745 MB / 1.091 GB, free: 30.53 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=85): time 4.389e-06/0.5304, allocations: 1.5 kB / 1.091 GB, free: 30.53 MB / 0.9948 GB Notification: Performance of matching and sorting (n=85): time 0.003292/0.5337, allocations: 1.822 MB / 1.093 GB, free: 30 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.5337, allocations: 66.09 kB / 1.093 GB, free: 29.93 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.5354, allocations: 1.546 MB / 1.095 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.5355, allocations: 43.25 kB / 1.095 GB, free: 29.33 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003875/0.5359, allocations: 0.8026 MB / 1.095 GB, free: 28.69 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.5361, allocations: 303.7 kB / 1.096 GB, free: 28.46 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.5363, allocations: 224.2 kB / 1.096 GB, free: 28.36 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.5364, allocations: 353.8 kB / 1.096 GB, free: 28.03 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009289/0.5373, allocations: 0.5244 MB / 1.097 GB, free: 27.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/0.5384, allocations: 1.133 MB / 1.098 GB, free: 27.03 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.5403, allocations: 1.428 MB / 1.099 GB, free: 26.27 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/0.5403, allocations: 3.406 kB / 1.099 GB, free: 26.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002867/0.5432, allocations: 1.622 MB / 1.101 GB, free: 25.79 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.5432, allocations: 16.94 kB / 1.101 GB, free: 25.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.5432, allocations: 15.59 kB / 1.101 GB, free: 25.78 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.335e-05/0.5433, allocations: 17.38 kB / 1.101 GB, free: 25.78 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.5441, allocations: 345.8 kB / 1.101 GB, free: 25.76 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.416e-05/0.5441, allocations: 26.45 kB / 1.101 GB, free: 25.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001087/0.5452, allocations: 226.6 kB / 1.102 GB, free: 25.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.5453, allocations: 65.92 kB / 1.102 GB, free: 25.66 MB / 0.9948 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.0005364/0.5458, allocations: 349 kB / 1.102 GB, free: 25.45 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002294/0.5461, allocations: 180.7 kB / 1.102 GB, free: 25.35 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/0.5493, allocations: 2.188 MB / 1.104 GB, free: 24.69 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/0.5493, allocations: 21.64 kB / 1.104 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5493, allocations: 1.562 kB / 1.104 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.318e-05/0.5493, allocations: 5.484 kB / 1.104 GB, free: 24.68 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004705/0.5541, allocations: 3.238 MB / 1.107 GB, free: 23.42 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.5541, allocations: 1.219 kB / 1.107 GB, free: 23.42 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006262/0.5547, allocations: 240.8 kB / 1.108 GB, free: 23.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/0.5547, allocations: 6.062 kB / 1.108 GB, free: 23.41 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.807e-05/0.5548, allocations: 43.84 kB / 1.108 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.266e-06/0.5548, allocations: 6.453 kB / 1.108 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5548, allocations: 2.312 kB / 1.108 GB, free: 23.39 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003881/0.5586, allocations: 2.823 MB / 1.11 GB, free: 22.34 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006233/0.5593, allocations: 325.2 kB / 1.111 GB, free: 22.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.5594, allocations: 28.5 kB / 1.111 GB, free: 22.14 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005677/0.56, allocations: 122.2 kB / 1.111 GB, free: 22.11 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.5601, allocations: 86.44 kB / 1.111 GB, free: 22.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.726e-05/0.5602, allocations: 50.12 kB / 1.111 GB, free: 22.09 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001145/0.5613, allocations: 1.037 MB / 1.112 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5613, allocations: 0 / 1.112 GB, free: 21.73 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001418/0.5628, allocations: 0.5502 MB / 1.113 GB, free: 21.6 MB / 0.9948 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.005562/0.5683, allocations: 4.151 MB / 1.117 GB, free: 19.79 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002833/0.5712, allocations: 1.451 MB / 1.118 GB, free: 19.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.5712, allocations: 0.75 kB / 1.118 GB, free: 19.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.5726, allocations: 0.7848 MB / 1.119 GB, free: 19.18 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002448/0.575, allocations: 0.7041 MB / 1.12 GB, free: 18.95 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01673/0.5917, allocations: 12.67 MB / 1.132 GB, free: 13.04 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007253/0.5925, allocations: 0.7292 MB / 1.133 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001431/0.5939, allocations: 372.8 kB / 1.133 GB, free: 12.75 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007646/0.5947, allocations: 0.7148 MB / 1.134 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of SimCode: time 1.453e-06/0.5947, allocations: 0 / 1.134 GB, free: 12.22 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0681/0.6628, allocations: 51.38 MB / 1.184 GB, free: 12.38 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.997/8.66, allocations: 5.938 kB / 1.184 GB, free: 12.38 MB / 1.026 GB " [Timeout remaining time 291] (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/jenkins/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: 12.617493500933051]