Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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: translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom") translateModel(Buildings.Airflow.Multizone.Examples.OneRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|oriOutTop.port_a.m_flow|oriOutBot.port_a.m_flow|volEas.T|volOut.T|oriOutTop.dp|oriOutBot.dp",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001257/0.001257, allocations: 190.1 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.526/1.526, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437.1 MB / 0.7111 GB, free: 4.504 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 63.69 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3785/0.3805, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.065/1.445, allocations: 213.7 MB / 1.227 GB, free: 2.465 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01788/1.463, allocations: 10.19 MB / 1.237 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002475/1.466, allocations: 35.81 kB / 1.237 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002674/1.469, allocations: 0.8391 MB / 1.237 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.009648/1.478, allocations: 2.894 MB / 1.24 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004588/1.483, allocations: 1.406 MB / 1.242 GB, free: 4.352 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006/1.489, allocations: 3.165 MB / 1.245 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/1.491, allocations: 1.032 MB / 1.246 GB, free: 136 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/1.494, allocations: 1.133 MB / 1.247 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002659/1.496, allocations: 1.076 MB / 1.248 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002287/1.497, allocations: 120 kB / 1.248 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007241/1.504, allocations: 2.735 MB / 1.251 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007742/1.505, allocations: 494.7 kB / 1.251 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/1.506, allocations: 0.7234 MB / 1.252 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00661/1.513, allocations: 2.789 MB / 1.255 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.513, allocations: 0 / 1.255 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.763e-06/1.513, allocations: 0 / 1.255 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.339e-05/1.513, allocations: 0 / 1.255 GB, free: 7.055 MB / 0.9512 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.004617/1.517, allocations: 1.8 MB / 1.256 GB, free: 5.203 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/1.517, allocations: 8.922 kB / 1.256 GB, free: 5.195 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/1.52, allocations: 430 kB / 1.257 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/1.522, allocations: 0.8473 MB / 1.258 GB, free: 3.883 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.699e-05/1.522, allocations: 74 kB / 1.258 GB, free: 3.809 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/1.522, allocations: 96 kB / 1.258 GB, free: 3.715 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002254/1.525, allocations: 1.198 MB / 1.259 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/1.525, allocations: 4 kB / 1.259 GB, free: 2.48 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/1.525, allocations: 36 kB / 1.259 GB, free: 2.445 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.99e-05/1.525, allocations: 53.98 kB / 1.259 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002044/1.527, allocations: 1.07 MB / 1.26 GB, free: 1.324 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.007035/1.534, allocations: 4.789 MB / 1.265 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/1.536, allocations: 0.9919 MB / 1.266 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001107/1.537, allocations: 0.5682 MB / 1.266 GB, free: 10.54 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000904/1.538, allocations: 0.6694 MB / 1.267 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/1.538, allocations: 47.22 kB / 1.267 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 5.07e-06/1.538, allocations: 0 / 1.267 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83): time 0.005122/1.543, allocations: 2.304 MB / 1.269 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/1.543, allocations: 64.34 kB / 1.269 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009728/1.544, allocations: 0.6411 MB / 1.27 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.152e-05/1.544, allocations: 45.7 kB / 1.27 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004382/1.545, allocations: 460 kB / 1.27 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003175/1.545, allocations: 287.7 kB / 1.271 GB, free: 5.789 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/1.545, allocations: 138.6 kB / 1.271 GB, free: 5.648 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002703/1.545, allocations: 386.8 kB / 1.271 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/1.546, allocations: 325.8 kB / 1.271 GB, free: 4.941 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/1.547, allocations: 422.5 kB / 1.272 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/1.548, allocations: 0.7846 MB / 1.273 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/1.548, allocations: 2.562 kB / 1.273 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001776/1.55, allocations: 0.9543 MB / 1.274 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/1.55, allocations: 8 kB / 1.274 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.55, allocations: 0 / 1.274 GB, free: 2.719 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003314/1.55, allocations: 56.83 kB / 1.274 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007255/1.551, allocations: 155.8 kB / 1.274 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006541/1.552, allocations: 0.6187 MB / 1.274 GB, free: 1.863 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008603/1.552, allocations: 23.94 kB / 1.274 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/1.552, allocations: 20 kB / 1.274 GB, free: 1.82 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.0006276/1.553, allocations: 303.1 kB / 1.275 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/1.553, allocations: 94.89 kB / 1.275 GB, free: 1.422 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.555, allocations: 0.9294 MB / 1.276 GB, free: 492 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.555, allocations: 8 kB / 1.276 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.555, allocations: 0 / 1.276 GB, free: 484 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001427/1.557, allocations: 0.9311 MB / 1.277 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/1.56, allocations: 2.115 MB / 1.279 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/1.56, allocations: 0 / 1.279 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.561, allocations: 188.6 kB / 1.279 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/1.561, allocations: 4 kB / 1.279 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/1.561, allocations: 20 kB / 1.279 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/1.561, allocations: 3.938 kB / 1.279 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/1.561, allocations: 4 kB / 1.279 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002511/1.564, allocations: 1.391 MB / 1.28 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006835/1.565, allocations: 248 kB / 1.28 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/1.565, allocations: 21 kB / 1.28 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.566, allocations: 23.98 kB / 1.281 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/1.566, allocations: 52.92 kB / 1.281 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.033e-05/1.566, allocations: 20 kB / 1.281 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009559/1.567, allocations: 467 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.81e-07/1.567, allocations: 4 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001539/1.569, allocations: 319.9 kB / 1.281 GB, free: 10.56 MB / 0.9825 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.0007168/1.569, allocations: 220.5 kB / 1.282 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.003509/1.573, allocations: 0.9964 MB / 1.283 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/1.573, allocations: 0.5 kB / 1.283 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/1.574, allocations: 449.5 kB / 1.283 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004191/1.578, allocations: 0.5871 MB / 1.284 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005642/1.584, allocations: 2.378 MB / 1.286 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/1.585, allocations: 1.12 MB / 1.287 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00039/1.586, allocations: 87.42 kB / 1.287 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/1.586, allocations: 0 / 1.287 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of Templates: time 0.03277/1.618, allocations: 18.7 MB / 1.305 GB, free: 2.066 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches