Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.00181/0.00181, allocations: 104.3 kB / 16.27 MB, free: 6.418 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.001854/0.001854, 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.493/1.493, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.843/2.843, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 64.77 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.06/1.062, allocations: 162.2 MB / 1.083 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.308/1.371, allocations: 213.7 MB / 1.292 GB, free: 8.516 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01771/1.388, allocations: 10.21 MB / 1.302 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/1.39, allocations: 35.81 kB / 1.302 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002561/1.393, allocations: 0.8391 MB / 1.302 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.008914/1.402, allocations: 2.882 MB / 1.305 GB, free: 10.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004395/1.406, allocations: 1.408 MB / 1.307 GB, free: 9.098 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.005477/1.412, allocations: 3.168 MB / 1.31 GB, free: 5.922 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/1.414, allocations: 1.026 MB / 1.311 GB, free: 4.875 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00297/1.417, allocations: 1.246 MB / 1.312 GB, free: 3.625 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0027/1.419, allocations: 1.06 MB / 1.313 GB, free: 2.566 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0002424/1.42, allocations: 124 kB / 1.313 GB, free: 2.445 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006899/1.427, allocations: 2.724 MB / 1.316 GB, free: 15.71 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008248/1.428, allocations: 494.7 kB / 1.316 GB, free: 15.23 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/1.429, allocations: 0.7273 MB / 1.317 GB, free: 14.5 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.007398/1.436, allocations: 2.797 MB / 1.32 GB, free: 11.7 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/1.436, allocations: 4 kB / 1.32 GB, free: 11.69 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.344e-06/1.436, allocations: 0 / 1.32 GB, free: 11.69 MB / 1.045 GB Notification: Performance of Transformations before backend: time 2.024e-05/1.436, allocations: 0 / 1.32 GB, free: 11.69 MB / 1.045 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.00491/1.441, allocations: 1.788 MB / 1.321 GB, free: 9.852 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/1.441, allocations: 12.03 kB / 1.321 GB, free: 9.84 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003026/1.444, allocations: 430 kB / 1.322 GB, free: 9.418 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/1.446, allocations: 0.8512 MB / 1.323 GB, free: 8.523 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.836e-05/1.446, allocations: 77.98 kB / 1.323 GB, free: 8.445 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/1.446, allocations: 95.91 kB / 1.323 GB, free: 8.352 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002259/1.449, allocations: 1.198 MB / 1.324 GB, free: 7.121 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.297e-05/1.449, allocations: 4 kB / 1.324 GB, free: 7.117 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/1.449, allocations: 36 kB / 1.324 GB, free: 7.082 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.76e-05/1.449, allocations: 53.98 kB / 1.324 GB, free: 7.027 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/1.451, allocations: 1.069 MB / 1.325 GB, free: 5.957 MB / 1.045 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.007359/1.458, allocations: 4.951 MB / 1.33 GB, free: 0.5703 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/1.46, allocations: 0.9924 MB / 1.331 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/1.461, allocations: 0.5713 MB / 1.331 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008977/1.462, allocations: 0.6694 MB / 1.332 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.721e-05/1.462, allocations: 47.2 kB / 1.332 GB, free: 14.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=82): time 3.937e-06/1.462, allocations: 0 / 1.332 GB, free: 14.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=83): time 0.005175/1.468, allocations: 2.304 MB / 1.334 GB, free: 11.73 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/1.468, allocations: 64.34 kB / 1.334 GB, free: 11.66 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000896/1.469, allocations: 0.6334 MB / 1.335 GB, free: 11.02 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.892e-05/1.469, allocations: 41.7 kB / 1.335 GB, free: 10.98 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004314/1.469, allocations: 460 kB / 1.336 GB, free: 10.52 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003103/1.469, allocations: 295.6 kB / 1.336 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/1.47, allocations: 134.7 kB / 1.336 GB, free: 10.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002413/1.47, allocations: 390.8 kB / 1.336 GB, free: 9.699 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/1.47, allocations: 325.8 kB / 1.337 GB, free: 9.379 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/1.471, allocations: 422.5 kB / 1.337 GB, free: 8.941 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001332/1.472, allocations: 0.7846 MB / 1.338 GB, free: 8.133 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/1.472, allocations: 0 / 1.338 GB, free: 8.133 MB / 1.061 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001743/1.474, allocations: 0.9502 MB / 1.339 GB, free: 7.172 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/1.474, allocations: 10.44 kB / 1.339 GB, free: 7.164 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.474, allocations: 4 kB / 1.339 GB, free: 7.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003315/1.475, allocations: 69.02 kB / 1.339 GB, free: 7.09 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/1.475, allocations: 155.8 kB / 1.339 GB, free: 6.938 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000605/1.476, allocations: 0.607 MB / 1.34 GB, free: 6.305 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000806/1.477, allocations: 19.91 kB / 1.34 GB, free: 6.285 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.693e-05/1.477, allocations: 24 kB / 1.34 GB, free: 6.262 MB / 1.061 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.0005539/1.477, allocations: 309.6 kB / 1.34 GB, free: 5.949 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001694/1.478, allocations: 94.97 kB / 1.34 GB, free: 5.855 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/1.479, allocations: 0.9207 MB / 1.341 GB, free: 4.918 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/1.479, allocations: 8 kB / 1.341 GB, free: 4.91 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.479, allocations: 4 kB / 1.341 GB, free: 4.906 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/1.481, allocations: 0.9348 MB / 1.342 GB, free: 3.926 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003552/1.484, allocations: 2.119 MB / 1.344 GB, free: 1.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/1.484, allocations: 0 / 1.344 GB, free: 1.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/1.485, allocations: 187.8 kB / 1.344 GB, free: 1.566 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/1.485, allocations: 8 kB / 1.344 GB, free: 1.559 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.09e-05/1.485, allocations: 23.94 kB / 1.344 GB, free: 1.535 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/1.485, allocations: 0 / 1.344 GB, free: 1.535 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.485, allocations: 0 / 1.344 GB, free: 1.535 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/1.488, allocations: 1.388 MB / 1.345 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005038/1.488, allocations: 251.9 kB / 1.346 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/1.488, allocations: 16 kB / 1.346 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/1.489, allocations: 30.05 kB / 1.346 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/1.489, allocations: 52.92 kB / 1.346 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.49e-05/1.489, allocations: 20 kB / 1.346 GB, free: 15.75 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006587/1.49, allocations: 463 kB / 1.346 GB, free: 15.3 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.395e-06/1.49, allocations: 0 / 1.346 GB, free: 15.3 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009987/1.491, allocations: 327.9 kB / 1.347 GB, free: 14.98 MB / 1.076 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.0004211/1.491, allocations: 203.2 kB / 1.347 GB, free: 14.78 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00224/1.494, allocations: 1.012 MB / 1.348 GB, free: 13.76 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/1.494, allocations: 0 / 1.348 GB, free: 13.76 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006934/1.494, allocations: 437.6 kB / 1.348 GB, free: 13.34 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.497, allocations: 0.5929 MB / 1.349 GB, free: 12.76 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/1.501, allocations: 2.384 MB / 1.351 GB, free: 10.34 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/1.502, allocations: 1.12 MB / 1.352 GB, free: 9.191 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003306/1.502, allocations: 87.42 kB / 1.352 GB, free: 9.105 MB / 1.076 GB Notification: Performance of SimCode: time 1.012e-06/1.502, allocations: 4 kB / 1.352 GB, free: 9.102 MB / 1.076 GB Notification: Performance of Templates: time 0.03217/1.535, allocations: 18.68 MB / 1.371 GB, free: 6.484 MB / 1.092 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches