Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001919/0.001919, allocations: 103.2 kB / 16.45 MB, free: 6.445 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.002212/0.002212, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.488/1.488, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.888/2.888, allocations: 476.7 MB / 0.7611 GB, free: 15.68 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_X_wSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 71.88 kB / 1.104 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135/1.137, allocations: 168.7 MB / 1.269 GB, free: 7.625 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2875/1.424, allocations: 194.5 MB / 1.459 GB, free: 2.637 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01281/1.437, allocations: 5.171 MB / 1.464 GB, free: 13.46 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002285/1.439, allocations: 47.69 kB / 1.464 GB, free: 13.41 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.003012/1.442, allocations: 0.8237 MB / 1.465 GB, free: 12.58 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.008354/1.451, allocations: 2.696 MB / 1.467 GB, free: 9.875 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003394/1.454, allocations: 1.099 MB / 1.468 GB, free: 8.781 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004567/1.459, allocations: 2.633 MB / 1.471 GB, free: 6.141 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001844/1.461, allocations: 0.76 MB / 1.472 GB, free: 5.367 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/1.464, allocations: 1.121 MB / 1.473 GB, free: 4.242 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/1.466, allocations: 1.016 MB / 1.474 GB, free: 3.223 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0004798/1.466, allocations: 80 kB / 1.474 GB, free: 3.145 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004645/1.471, allocations: 1.905 MB / 1.476 GB, free: 1.234 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0009007/1.472, allocations: 438.5 kB / 1.476 GB, free: 0.8047 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.001586/1.473, allocations: 0.6448 MB / 1.477 GB, free: 160 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.006467/1.48, allocations: 2.16 MB / 1.479 GB, free: 13.99 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/1.48, allocations: 0 / 1.479 GB, free: 13.99 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.594e-06/1.48, allocations: 0 / 1.479 GB, free: 13.99 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.766e-05/1.48, allocations: 0 / 1.479 GB, free: 13.99 MB / 1.17 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.006531/1.486, allocations: 1.982 MB / 1.481 GB, free: 11.95 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/1.486, allocations: 8.031 kB / 1.481 GB, free: 11.94 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002937/1.487, allocations: 143.4 kB / 1.481 GB, free: 11.79 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004247/1.491, allocations: 0.6701 MB / 1.482 GB, free: 11.12 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002422/1.493, allocations: 0.9615 MB / 1.482 GB, free: 10.1 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001109/1.493, allocations: 66 kB / 1.483 GB, free: 10.04 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003279/1.494, allocations: 84 kB / 1.483 GB, free: 9.953 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004173/1.498, allocations: 1.47 MB / 1.484 GB, free: 8.41 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.021e-05/1.498, allocations: 0 / 1.484 GB, free: 8.41 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001845/1.498, allocations: 39.98 kB / 1.484 GB, free: 8.371 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.163e-05/1.498, allocations: 49.92 kB / 1.484 GB, free: 8.32 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00482/1.503, allocations: 1.518 MB / 1.486 GB, free: 6.805 MB / 1.17 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.01002/1.513, allocations: 5.496 MB / 1.491 GB, free: 1.023 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/1.517, allocations: 1.241 MB / 1.492 GB, free: 15.77 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001852/1.519, allocations: 0.627 MB / 1.493 GB, free: 15.14 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009915/1.52, allocations: 0.5812 MB / 1.493 GB, free: 14.45 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002119/1.522, allocations: 0.7068 MB / 1.494 GB, free: 13.73 MB / 1.186 GB Notification: Performance of pre-optimization done (n=80): time 4.248e-06/1.522, allocations: 0 / 1.494 GB, free: 13.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=80): time 0.006186/1.528, allocations: 1.886 MB / 1.496 GB, free: 11.84 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.458e-05/1.528, allocations: 60.06 kB / 1.496 GB, free: 11.77 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/1.53, allocations: 1.239 MB / 1.497 GB, free: 10.52 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0002168/1.53, allocations: 45.7 kB / 1.497 GB, free: 10.47 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007268/1.531, allocations: 0.5916 MB / 1.498 GB, free: 9.871 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004822/1.532, allocations: 285.6 kB / 1.498 GB, free: 9.59 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004009/1.532, allocations: 186.6 kB / 1.498 GB, free: 9.402 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000205/1.532, allocations: 341.9 kB / 1.499 GB, free: 9.062 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001777/1.534, allocations: 0.5367 MB / 1.499 GB, free: 8.523 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/1.536, allocations: 0.8213 MB / 1.5 GB, free: 7.594 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003723/1.54, allocations: 1.324 MB / 1.501 GB, free: 6.164 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/1.54, allocations: 0 / 1.501 GB, free: 6.164 MB / 1.186 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004816/1.545, allocations: 1.503 MB / 1.503 GB, free: 4.652 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/1.545, allocations: 8 kB / 1.503 GB, free: 4.645 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/1.545, allocations: 8 kB / 1.503 GB, free: 4.637 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.763e-05/1.545, allocations: 15.98 kB / 1.503 GB, free: 4.621 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/1.546, allocations: 296 kB / 1.503 GB, free: 4.332 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.921e-05/1.546, allocations: 19.92 kB / 1.503 GB, free: 4.312 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/1.548, allocations: 207 kB / 1.503 GB, free: 4.109 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/1.548, allocations: 51.98 kB / 1.503 GB, free: 4.059 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.000739/1.549, allocations: 331.7 kB / 1.504 GB, free: 3.727 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/1.549, allocations: 143 kB / 1.504 GB, free: 3.586 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/1.553, allocations: 1.405 MB / 1.505 GB, free: 2.172 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.474e-05/1.553, allocations: 8 kB / 1.505 GB, free: 2.164 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.553, allocations: 4.094 kB / 1.505 GB, free: 2.16 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.404e-05/1.553, allocations: 7.922 kB / 1.505 GB, free: 2.152 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007045/1.56, allocations: 2.791 MB / 1.508 GB, free: 15.26 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.56, allocations: 7.938 kB / 1.508 GB, free: 15.25 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001359/1.562, allocations: 228.2 kB / 1.508 GB, free: 15.03 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-05/1.562, allocations: 12 kB / 1.508 GB, free: 15.02 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001336/1.562, allocations: 27.97 kB / 1.508 GB, free: 14.99 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.184e-05/1.562, allocations: 8 kB / 1.508 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.562, allocations: 7.938 kB / 1.508 GB, free: 14.98 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006121/1.568, allocations: 2.252 MB / 1.51 GB, free: 12.66 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009051/1.569, allocations: 303.9 kB / 1.511 GB, free: 12.35 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003111/1.569, allocations: 20 kB / 1.511 GB, free: 12.33 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.571, allocations: 115.9 kB / 1.511 GB, free: 12.21 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/1.571, allocations: 60.38 kB / 1.511 GB, free: 12.16 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.825e-05/1.571, allocations: 35.97 kB / 1.511 GB, free: 12.12 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001292/1.572, allocations: 0.8561 MB / 1.512 GB, free: 11.26 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.572, allocations: 4 kB / 1.512 GB, free: 11.26 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001452/1.574, allocations: 315.7 kB / 1.512 GB, free: 10.95 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (80): * Single equations (assignments): 74 * 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.008615/1.582, allocations: 3.248 MB / 1.515 GB, free: 7.812 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.004141/1.586, allocations: 1.255 MB / 1.516 GB, free: 6.555 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/1.586, allocations: 0 / 1.516 GB, free: 6.555 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.001879/1.588, allocations: 0.6169 MB / 1.517 GB, free: 5.938 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.591, allocations: 0.5944 MB / 1.518 GB, free: 5.355 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02465/1.616, allocations: 10.98 MB / 1.528 GB, free: 9.953 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009635/1.617, allocations: 1.167 MB / 1.529 GB, free: 8.758 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.00149/1.618, allocations: 349.9 kB / 1.53 GB, free: 8.414 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00087/1.619, allocations: 0.503 MB / 1.53 GB, free: 7.91 MB / 1.217 GB Notification: Performance of SimCode: time 1.583e-06/1.619, allocations: 0 / 1.53 GB, free: 7.91 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08417/1.704, allocations: 34.12 MB / 1.564 GB, free: 6.191 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.93/12.63, allocations: 3.5 kB / 1.564 GB, free: 6.191 MB / 1.248 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.314684266224504]