Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Airflow.Multizone.Examples.OneRoom,fileNamePrefix="Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002682/0.002682, allocations: 190.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.174/2.174, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.296/4.296, allocations: 390.3 MB / 0.6644 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002446/0.002446, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.15, allocations: 140.4 MB / 0.9492 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.3691/1.519, allocations: 211 MB / 1.155 GB, free: 14.31 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02561/1.545, allocations: 10.13 MB / 1.165 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002793/1.548, allocations: 39.75 kB / 1.165 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.003729/1.551, allocations: 0.7543 MB / 1.166 GB, free: 3.359 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01252/1.564, allocations: 2.716 MB / 1.169 GB, free: 0.6328 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006299/1.57, allocations: 1.301 MB / 1.17 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007898/1.578, allocations: 3.173 MB / 1.173 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002773/1.581, allocations: 1.01 MB / 1.174 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004138/1.585, allocations: 1.14 MB / 1.175 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004324/1.59, allocations: 1.134 MB / 1.176 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0006146/1.59, allocations: 124 kB / 1.176 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009398/1.6, allocations: 2.856 MB / 1.179 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001325/1.601, allocations: 0.4948 MB / 1.18 GB, free: 5.359 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.002298/1.603, allocations: 0.7273 MB / 1.18 GB, free: 4.629 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.009488/1.613, allocations: 2.988 MB / 1.183 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/1.613, allocations: 0 / 1.183 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.116e-06/1.613, allocations: 0 / 1.183 GB, free: 1.633 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.683e-05/1.613, allocations: 0 / 1.183 GB, free: 1.633 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.009225/1.622, allocations: 1.795 MB / 1.185 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 7.742e-05/1.623, allocations: 8.031 kB / 1.185 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006201/1.623, allocations: 156 kB / 1.185 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006089/1.629, allocations: 430 kB / 1.185 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003429/1.633, allocations: 0.8513 MB / 1.186 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/1.633, allocations: 73.98 kB / 1.186 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005018/1.633, allocations: 92 kB / 1.186 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00487/1.638, allocations: 1.198 MB / 1.188 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-05/1.639, allocations: 4 kB / 1.188 GB, free: 12.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000352/1.639, allocations: 40 kB / 1.188 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001803/1.639, allocations: 57.91 kB / 1.188 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/1.643, allocations: 1.073 MB / 1.189 GB, free: 11.73 MB / 0.9512 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.01135/1.655, allocations: 4.735 MB / 1.193 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00275/1.657, allocations: 0.9807 MB / 1.194 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/1.659, allocations: 0.5675 MB / 1.195 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001005/1.66, allocations: 0.6772 MB / 1.196 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/1.66, allocations: 39.22 kB / 1.196 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=82): time 5.54e-06/1.66, allocations: 0 / 1.196 GB, free: 4.137 MB / 0.9512 GB Notification: Performance of matching and sorting (n=83): time 0.008407/1.669, allocations: 2.308 MB / 1.198 GB, free: 1.773 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/1.669, allocations: 68.34 kB / 1.198 GB, free: 1.695 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/1.67, allocations: 0.6373 MB / 1.199 GB, free: 1.055 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/1.671, allocations: 41.7 kB / 1.199 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005639/1.671, allocations: 464 kB / 1.199 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004553/1.672, allocations: 291.6 kB / 1.199 GB, free: 264 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004156/1.672, allocations: 138.6 kB / 1.199 GB, free: 120 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0003257/1.672, allocations: 394.7 kB / 1.2 GB, free: 15.72 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009819/1.673, allocations: 321.8 kB / 1.2 GB, free: 15.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.674, allocations: 426.5 kB / 1.201 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002169/1.677, allocations: 0.7845 MB / 1.201 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/1.677, allocations: 4 kB / 1.201 GB, free: 14.15 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002934/1.68, allocations: 0.9424 MB / 1.202 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/1.68, allocations: 4 kB / 1.202 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/1.68, allocations: 7.938 kB / 1.202 GB, free: 13.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004828/1.68, allocations: 61.08 kB / 1.202 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/1.681, allocations: 155.7 kB / 1.202 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008211/1.682, allocations: 0.6031 MB / 1.203 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/1.684, allocations: 103.8 kB / 1.203 GB, free: 12.24 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/1.684, allocations: 32 kB / 1.203 GB, free: 12.21 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0009366/1.685, allocations: 306 kB / 1.203 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004397/1.686, allocations: 90.97 kB / 1.204 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/1.689, allocations: 0.9323 MB / 1.204 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.752e-05/1.689, allocations: 8 kB / 1.204 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.434e-05/1.689, allocations: 4.062 kB / 1.204 GB, free: 10.85 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00213/1.691, allocations: 0.9309 MB / 1.205 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005708/1.696, allocations: 2.115 MB / 1.207 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/1.696, allocations: 0 / 1.207 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/1.698, allocations: 199.7 kB / 1.208 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.923e-05/1.698, allocations: 7.938 kB / 1.208 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000106/1.698, allocations: 16 kB / 1.208 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/1.698, allocations: 4 kB / 1.208 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.698, allocations: 0 / 1.208 GB, free: 7.484 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003425/1.702, allocations: 1.384 MB / 1.209 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008097/1.703, allocations: 259.9 kB / 1.209 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/1.703, allocations: 12 kB / 1.209 GB, free: 5.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.704, allocations: 84.33 kB / 1.209 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/1.705, allocations: 52.88 kB / 1.209 GB, free: 5.664 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/1.705, allocations: 39.92 kB / 1.209 GB, free: 5.625 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009724/1.706, allocations: 451 kB / 1.21 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.7e-07/1.706, allocations: 0 / 1.21 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00158/1.707, allocations: 327.9 kB / 1.21 GB, free: 4.871 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (volEas.dynBal.medium.Xi[1],volEas.dynBal.U,volEas.dynBal.m,oriOutBot.mExc,oriOutTop.mExc,volOut.dynBal.medium.Xi[1],volOut.dynBal.U,volOut.dynBal.m) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 83 * 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 Backend phase and start with SimCode phase: time 0.004245/1.712, allocations: 2.036 MB / 1.212 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003595/1.715, allocations: 1.004 MB / 1.213 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.715, allocations: 0 / 1.213 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/1.716, allocations: 441.6 kB / 1.214 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004991/1.721, allocations: 0.5945 MB / 1.214 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/1.742, allocations: 8.193 MB / 1.222 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.743, allocations: 1.12 MB / 1.223 GB, free: 7.234 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001929/1.745, allocations: 251.7 kB / 1.224 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009188/1.746, allocations: 395.2 kB / 1.224 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of SimCode: time 8.61e-07/1.746, allocations: 4 kB / 1.224 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8331/2.579, allocations: 27.58 MB / 1.251 GB, free: 283.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004076/2.58, allocations: 216.7 kB / 1.251 GB, free: 283.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.896/7.475, allocations: 3.844 kB / 1.251 GB, free: 283.5 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat --tempDir=temp_Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Airflow_Multizone_Examples_OneRoom.fmu > Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches