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.001641/0.001641, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001851/0.001851, allocations: 191.3 kB / 16.25 MB, free: 6.637 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.435/1.435, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.935/2.935, allocations: 472.6 MB / 0.7448 GB, free: 4.891 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 63.41 kB / 0.9116 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4327/0.434, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.276/1.71, allocations: 211 MB / 1.274 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01655/1.727, allocations: 10.15 MB / 1.284 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002718/1.729, allocations: 33.75 kB / 1.284 GB, free: 5.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.002863/1.732, allocations: 0.7545 MB / 1.284 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01036/1.743, allocations: 2.719 MB / 1.287 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004941/1.748, allocations: 1.298 MB / 1.288 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006684/1.754, allocations: 3.165 MB / 1.291 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001893/1.756, allocations: 1.012 MB / 1.292 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002869/1.759, allocations: 1.145 MB / 1.294 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002729/1.762, allocations: 1.138 MB / 1.295 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002447/1.762, allocations: 124.8 kB / 1.295 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007854/1.77, allocations: 2.854 MB / 1.298 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007533/1.771, allocations: 0.4936 MB / 1.298 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001201/1.772, allocations: 0.7296 MB / 1.299 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006668/1.779, allocations: 2.982 MB / 1.302 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/1.779, allocations: 0.8438 kB / 1.302 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.266e-06/1.779, allocations: 0.9375 kB / 1.302 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.537e-05/1.779, allocations: 3.938 kB / 1.302 GB, free: 4.758 MB / 0.9981 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.005391/1.784, allocations: 1.791 MB / 1.303 GB, free: 19.89 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.784, allocations: 12.2 kB / 1.303 GB, free: 19.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002955/1.787, allocations: 428.5 kB / 1.304 GB, free: 19.82 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001511/1.789, allocations: 0.8512 MB / 1.305 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/1.789, allocations: 74.56 kB / 1.305 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/1.789, allocations: 100.6 kB / 1.305 GB, free: 19.48 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/1.791, allocations: 1.197 MB / 1.306 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/1.791, allocations: 4.344 kB / 1.306 GB, free: 19.35 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/1.791, allocations: 45.03 kB / 1.306 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.992e-05/1.791, allocations: 51.58 kB / 1.306 GB, free: 19.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/1.793, allocations: 1.078 MB / 1.307 GB, free: 19.33 MB / 1.014 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.006073/1.799, allocations: 4.724 MB / 1.312 GB, free: 16.64 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001569/1.801, allocations: 0.9882 MB / 1.313 GB, free: 16.42 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009785/1.802, allocations: 0.5738 MB / 1.313 GB, free: 16.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/1.803, allocations: 0.6742 MB / 1.314 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/1.803, allocations: 43.81 kB / 1.314 GB, free: 15.61 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.396e-06/1.803, allocations: 0.8125 kB / 1.314 GB, free: 15.61 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.00484/1.808, allocations: 2.3 MB / 1.316 GB, free: 15.12 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/1.808, allocations: 64.47 kB / 1.316 GB, free: 15.05 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/1.809, allocations: 0.6376 MB / 1.317 GB, free: 14.93 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.005e-05/1.809, allocations: 44.42 kB / 1.317 GB, free: 14.89 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/1.809, allocations: 456.9 kB / 1.317 GB, free: 14.69 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/1.809, allocations: 293.7 kB / 1.318 GB, free: 14.5 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002221/1.809, allocations: 131.9 kB / 1.318 GB, free: 14.48 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001879/1.81, allocations: 392.1 kB / 1.318 GB, free: 14.17 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000495/1.81, allocations: 323.3 kB / 1.318 GB, free: 14.17 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005299/1.811, allocations: 426.3 kB / 1.319 GB, free: 14.09 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/1.812, allocations: 0.7841 MB / 1.32 GB, free: 14 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.812, allocations: 1.062 kB / 1.32 GB, free: 14 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001465/1.813, allocations: 0.9501 MB / 1.321 GB, free: 13.89 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.813, allocations: 6.156 kB / 1.321 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.813, allocations: 5.75 kB / 1.321 GB, free: 13.89 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002674/1.813, allocations: 57 kB / 1.321 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006651/1.814, allocations: 163.3 kB / 1.321 GB, free: 13.88 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005175/1.815, allocations: 0.6069 MB / 1.321 GB, free: 13.36 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/1.816, allocations: 106 kB / 1.322 GB, free: 13.35 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/1.816, allocations: 26.06 kB / 1.322 GB, free: 13.35 MB / 1.014 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.0005575/1.816, allocations: 311.3 kB / 1.322 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/1.817, allocations: 91.45 kB / 1.322 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/1.818, allocations: 0.9251 MB / 1.323 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.818, allocations: 8.188 kB / 1.323 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/1.818, allocations: 0.875 kB / 1.323 GB, free: 13.11 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001223/1.819, allocations: 0.9352 MB / 1.324 GB, free: 12.83 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003041/1.822, allocations: 2.113 MB / 1.326 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.822, allocations: 4.219 kB / 1.326 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/1.823, allocations: 190.8 kB / 1.326 GB, free: 12.5 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-06/1.823, allocations: 8.859 kB / 1.326 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/1.823, allocations: 23.02 kB / 1.326 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.823, allocations: 2.625 kB / 1.326 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.823, allocations: 3.062 kB / 1.326 GB, free: 12.49 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001793/1.825, allocations: 1.39 MB / 1.327 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004307/1.826, allocations: 252.4 kB / 1.328 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/1.826, allocations: 21.81 kB / 1.328 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000817/1.827, allocations: 87.27 kB / 1.328 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/1.827, allocations: 51.08 kB / 1.328 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/1.827, allocations: 28.53 kB / 1.328 GB, free: 12.13 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004958/1.827, allocations: 454.3 kB / 1.328 GB, free: 12.04 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.827, allocations: 0 / 1.328 GB, free: 12.04 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001005/1.828, allocations: 319.2 kB / 1.329 GB, free: 12.04 MB / 1.014 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.0003903/1.829, allocations: 215.2 kB / 1.329 GB, free: 11.94 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0018/1.831, allocations: 1.002 MB / 1.33 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.831, allocations: 3.312 kB / 1.33 GB, free: 11.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005547/1.831, allocations: 437.7 kB / 1.33 GB, free: 11.9 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/1.833, allocations: 0.5894 MB / 1.331 GB, free: 11.81 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/1.837, allocations: 2.746 MB / 1.333 GB, free: 10.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006607/1.838, allocations: 1.123 MB / 1.335 GB, free: 9.605 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001014/1.839, allocations: 254.7 kB / 1.335 GB, free: 9.543 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/1.839, allocations: 74.47 kB / 1.335 GB, free: 9.535 MB / 1.014 GB Notification: Performance of SimCode: time 4.31e-07/1.839, allocations: 2.906 kB / 1.335 GB, free: 9.535 MB / 1.014 GB Notification: Performance of Templates: time 0.03306/1.872, allocations: 20.33 MB / 1.355 GB, free: 3.922 MB / 1.014 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches