Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.0008589/0.0008589, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001016/0.001016, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9016/0.9016, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.629/1.629, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_TSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.218e-05, allocations: 5.375 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6853/0.6853, allocations: 171.2 MB / 1.118 GB, free: 31.09 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008023/0.6933, allocations: 5.018 MB / 1.123 GB, free: 27.7 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.695, allocations: 66.75 kB / 1.123 GB, free: 27.66 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001903/0.6969, allocations: 0.821 MB / 1.123 GB, free: 27.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.007039/0.7039, allocations: 2.793 MB / 1.126 GB, free: 25.83 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003043/0.707, allocations: 1.073 MB / 1.127 GB, free: 25.31 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.005151/0.7121, allocations: 2.689 MB / 1.13 GB, free: 24.08 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.7142, allocations: 0.7095 MB / 1.131 GB, free: 23.77 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003586/0.7177, allocations: 1.433 MB / 1.132 GB, free: 23.2 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00217/0.7199, allocations: 0.9156 MB / 1.133 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.7202, allocations: 81.75 kB / 1.133 GB, free: 22.92 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003481/0.7237, allocations: 1.506 MB / 1.134 GB, free: 22.36 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0006085/0.7243, allocations: 484.2 kB / 1.135 GB, free: 22.13 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.7252, allocations: 438.2 kB / 1.135 GB, free: 21.96 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004454/0.7296, allocations: 2.185 MB / 1.137 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.7296, allocations: 0 / 1.137 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.435e-06/0.7296, allocations: 0 / 1.137 GB, free: 21.21 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.174e-05/0.7297, allocations: 0 / 1.137 GB, free: 21.21 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.00468/0.7344, allocations: 1.92 MB / 1.139 GB, free: 20.07 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/0.7344, allocations: 9.5 kB / 1.139 GB, free: 20.07 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001762/0.7346, allocations: 140.5 kB / 1.139 GB, free: 19.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002939/0.7375, allocations: 0.7124 MB / 1.14 GB, free: 19.85 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001837/0.7394, allocations: 0.8579 MB / 1.141 GB, free: 19.35 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.334e-05/0.7394, allocations: 76.05 kB / 1.141 GB, free: 19.31 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/0.7396, allocations: 87.78 kB / 1.141 GB, free: 19.28 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002702/0.7423, allocations: 1.474 MB / 1.143 GB, free: 18.72 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.7423, allocations: 9.406 kB / 1.143 GB, free: 18.71 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.093e-05/0.7424, allocations: 36.67 kB / 1.143 GB, free: 18.68 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.177e-05/0.7425, allocations: 44.53 kB / 1.143 GB, free: 18.68 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.7456, allocations: 1.572 MB / 1.144 GB, free: 18.23 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005956/0.7516, allocations: 4.272 MB / 1.148 GB, free: 15.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002201/0.7538, allocations: 1.149 MB / 1.149 GB, free: 15.18 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.7548, allocations: 0.6351 MB / 1.15 GB, free: 15 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005851/0.7554, allocations: 197.1 kB / 1.15 GB, free: 14.97 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/0.7565, allocations: 0.7313 MB / 1.151 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=82): time 3.136e-06/0.7565, allocations: 0 / 1.151 GB, free: 14.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=82): time 0.003759/0.7603, allocations: 1.984 MB / 1.153 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.7603, allocations: 67.14 kB / 1.153 GB, free: 14.1 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00152/0.7619, allocations: 1.335 MB / 1.154 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.291e-05/0.7619, allocations: 44.02 kB / 1.154 GB, free: 13.56 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003146/0.7623, allocations: 0.5899 MB / 1.155 GB, free: 13.09 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.7624, allocations: 292 kB / 1.155 GB, free: 12.86 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.7627, allocations: 181 kB / 1.155 GB, free: 12.78 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.243e-05/0.7627, allocations: 346.9 kB / 1.156 GB, free: 12.46 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009441/0.7637, allocations: 0.5493 MB / 1.156 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.7648, allocations: 1.06 MB / 1.157 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002025/0.7668, allocations: 1.346 MB / 1.159 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.7669, allocations: 2 kB / 1.159 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002551/0.7694, allocations: 1.54 MB / 1.16 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.7694, allocations: 9.344 kB / 1.16 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.7695, allocations: 6.75 kB / 1.16 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/0.7695, allocations: 17.34 kB / 1.16 GB, free: 10.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/0.7703, allocations: 290.5 kB / 1.16 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.256e-05/0.7704, allocations: 20.23 kB / 1.16 GB, free: 10.37 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009252/0.7713, allocations: 204.4 kB / 1.161 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/0.7714, allocations: 49.33 kB / 1.161 GB, free: 10.28 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.000547/0.7719, allocations: 342.2 kB / 1.161 GB, free: 10.06 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.7721, allocations: 147.2 kB / 1.161 GB, free: 9.984 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.7747, allocations: 1.514 MB / 1.163 GB, free: 9.484 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.7747, allocations: 12.3 kB / 1.163 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.7747, allocations: 1.031 kB / 1.163 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.7748, allocations: 5.188 kB / 1.163 GB, free: 9.48 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.7792, allocations: 2.781 MB / 1.165 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.7792, allocations: 2.812 kB / 1.165 GB, free: 8.293 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.7799, allocations: 232.4 kB / 1.166 GB, free: 8.273 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.317e-05/0.7799, allocations: 8.25 kB / 1.166 GB, free: 8.273 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.426e-05/0.78, allocations: 34.03 kB / 1.166 GB, free: 8.258 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/0.78, allocations: 7.438 kB / 1.166 GB, free: 8.258 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.216e-06/0.78, allocations: 11.44 kB / 1.166 GB, free: 8.254 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003748/0.7837, allocations: 2.381 MB / 1.168 GB, free: 7.293 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004887/0.7842, allocations: 246.5 kB / 1.168 GB, free: 7.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001354/0.7844, allocations: 24.75 kB / 1.168 GB, free: 7.148 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.7849, allocations: 109.2 kB / 1.168 GB, free: 7.133 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.785, allocations: 73.3 kB / 1.168 GB, free: 7.113 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.7851, allocations: 44.23 kB / 1.168 GB, free: 7.102 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0008846/0.786, allocations: 0.9116 MB / 1.169 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.71e-07/0.786, allocations: 0 / 1.169 GB, free: 6.773 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009671/0.7869, allocations: 324.8 kB / 1.17 GB, free: 6.723 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (88): * Single equations (assignments): 82 * 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.004246/0.7912, allocations: 3.384 MB / 1.173 GB, free: 5.082 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002142/0.7933, allocations: 1.302 MB / 1.174 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7933, allocations: 0 / 1.174 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009758/0.7943, allocations: 0.656 MB / 1.175 GB, free: 4.562 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.7961, allocations: 0.6224 MB / 1.175 GB, free: 4.359 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/0.8105, allocations: 11.27 MB / 1.186 GB, free: 14.3 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004581/0.811, allocations: 0.6047 MB / 1.187 GB, free: 13.96 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001074/0.812, allocations: 347.3 kB / 1.187 GB, free: 13.79 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/0.8126, allocations: 0.4974 MB / 1.188 GB, free: 13.38 MB / 1.01 GB Notification: Performance of SimCode: time 1.723e-06/0.8126, allocations: 0 / 1.188 GB, free: 13.38 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05804/0.8707, allocations: 38.66 MB / 1.226 GB, free: 15.74 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.023/8.893, allocations: 6.938 kB / 1.226 GB, free: 15.73 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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: 13.124763880856335]