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: 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_9_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_9_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.001564/0.001564, allocations: 106 kB / 16.41 MB, free: 5.984 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.001561/0.001561, allocations: 184.4 kB / 17.34 MB, free: 5.613 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.344/2.344, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 75.88 kB / 0.9515 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198/1.199, allocations: 140.4 MB / 1.089 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.3/1.5, allocations: 213.7 MB / 1.297 GB, free: 7.895 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01542/1.515, allocations: 10.2 MB / 1.307 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002247/1.517, allocations: 35.81 kB / 1.307 GB, free: 13.64 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002521/1.52, allocations: 0.8742 MB / 1.308 GB, free: 12.76 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008805/1.529, allocations: 2.978 MB / 1.311 GB, free: 9.773 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004323/1.533, allocations: 1.441 MB / 1.312 GB, free: 8.332 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0053/1.538, allocations: 3.175 MB / 1.315 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/1.54, allocations: 1.014 MB / 1.316 GB, free: 4.113 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002506/1.543, allocations: 1.164 MB / 1.318 GB, free: 2.945 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002548/1.545, allocations: 1.085 MB / 1.319 GB, free: 1.863 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000211/1.545, allocations: 120 kB / 1.319 GB, free: 1.746 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006142/1.552, allocations: 2.751 MB / 1.321 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006901/1.552, allocations: 0.4947 MB / 1.322 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/1.553, allocations: 0.7195 MB / 1.323 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005638/1.559, allocations: 2.809 MB / 1.325 GB, free: 10.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/1.559, allocations: 0 / 1.325 GB, free: 10.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/1.559, allocations: 0 / 1.325 GB, free: 10.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.632e-05/1.559, allocations: 0 / 1.325 GB, free: 10.95 MB / 1.061 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.004035/1.563, allocations: 1.791 MB / 1.327 GB, free: 9.109 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/1.563, allocations: 8.031 kB / 1.327 GB, free: 9.102 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002812/1.566, allocations: 438 kB / 1.328 GB, free: 8.672 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/1.567, allocations: 0.894 MB / 1.328 GB, free: 7.734 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/1.567, allocations: 70 kB / 1.329 GB, free: 7.664 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/1.568, allocations: 95.98 kB / 1.329 GB, free: 7.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/1.57, allocations: 1.198 MB / 1.33 GB, free: 6.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/1.57, allocations: 7.906 kB / 1.33 GB, free: 6.332 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/1.57, allocations: 36 kB / 1.33 GB, free: 6.297 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.347e-05/1.57, allocations: 53.97 kB / 1.33 GB, free: 6.242 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001772/1.572, allocations: 1.077 MB / 1.331 GB, free: 5.164 MB / 1.061 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.005584/1.577, allocations: 4.75 MB / 1.336 GB, free: 16 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/1.579, allocations: 0.9846 MB / 1.337 GB, free: 14.99 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/1.58, allocations: 0.5909 MB / 1.337 GB, free: 14.39 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006628/1.58, allocations: 0.6811 MB / 1.338 GB, free: 13.57 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.034e-05/1.581, allocations: 43.22 kB / 1.338 GB, free: 13.52 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.966e-06/1.581, allocations: 0 / 1.338 GB, free: 13.52 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.004322/1.585, allocations: 2.304 MB / 1.34 GB, free: 11.16 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/1.585, allocations: 64.34 kB / 1.34 GB, free: 11.08 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008057/1.586, allocations: 0.6411 MB / 1.341 GB, free: 10.44 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.243e-05/1.586, allocations: 41.7 kB / 1.341 GB, free: 10.39 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003311/1.586, allocations: 460 kB / 1.341 GB, free: 9.934 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.586, allocations: 295.7 kB / 1.342 GB, free: 9.641 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/1.587, allocations: 130.6 kB / 1.342 GB, free: 9.508 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001782/1.587, allocations: 390.8 kB / 1.342 GB, free: 9.117 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004995/1.587, allocations: 325.8 kB / 1.342 GB, free: 8.797 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005747/1.588, allocations: 430.5 kB / 1.343 GB, free: 8.348 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/1.589, allocations: 0.7768 MB / 1.343 GB, free: 7.547 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/1.589, allocations: 0 / 1.343 GB, free: 7.547 MB / 1.076 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001521/1.591, allocations: 0.9502 MB / 1.344 GB, free: 6.586 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/1.591, allocations: 8 kB / 1.344 GB, free: 6.578 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.591, allocations: 3.938 kB / 1.344 GB, free: 6.574 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003028/1.591, allocations: 56.83 kB / 1.344 GB, free: 6.516 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006703/1.592, allocations: 164 kB / 1.345 GB, free: 6.355 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005117/1.592, allocations: 0.6031 MB / 1.345 GB, free: 5.727 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000774/1.593, allocations: 23.91 kB / 1.345 GB, free: 5.703 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.98e-05/1.593, allocations: 28 kB / 1.345 GB, free: 5.676 MB / 1.076 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.0005206/1.593, allocations: 309.5 kB / 1.346 GB, free: 5.363 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/1.594, allocations: 91.03 kB / 1.346 GB, free: 5.273 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/1.595, allocations: 0.9324 MB / 1.347 GB, free: 4.328 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.397e-06/1.595, allocations: 8 kB / 1.347 GB, free: 4.32 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/1.595, allocations: 0 / 1.347 GB, free: 4.32 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001215/1.596, allocations: 0.927 MB / 1.347 GB, free: 3.344 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/1.6, allocations: 2.114 MB / 1.35 GB, free: 1.176 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/1.6, allocations: 0 / 1.35 GB, free: 1.176 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/1.601, allocations: 199.8 kB / 1.35 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/1.601, allocations: 3.938 kB / 1.35 GB, free: 0.9766 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.639e-05/1.601, allocations: 20 kB / 1.35 GB, free: 0.957 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.601, allocations: 4 kB / 1.35 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/1.601, allocations: 0 / 1.35 GB, free: 0.9531 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/1.603, allocations: 1.384 MB / 1.351 GB, free: 15.55 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004352/1.603, allocations: 255.8 kB / 1.351 GB, free: 15.28 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.603, allocations: 19.94 kB / 1.351 GB, free: 15.26 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/1.604, allocations: 29.05 kB / 1.351 GB, free: 15.23 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/1.604, allocations: 44.94 kB / 1.351 GB, free: 15.19 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.616e-05/1.604, allocations: 31.98 kB / 1.351 GB, free: 15.16 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005564/1.605, allocations: 459 kB / 1.352 GB, free: 14.72 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.21e-07/1.605, allocations: 0 / 1.352 GB, free: 14.72 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009457/1.606, allocations: 323.9 kB / 1.352 GB, free: 14.4 MB / 1.092 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.0004313/1.606, allocations: 215.1 kB / 1.352 GB, free: 14.18 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001347/1.607, allocations: 0.8129 MB / 1.353 GB, free: 13.37 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/1.608, allocations: 0.5 kB / 1.353 GB, free: 13.37 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005882/1.608, allocations: 445.6 kB / 1.354 GB, free: 12.93 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/1.611, allocations: 0.5817 MB / 1.354 GB, free: 12.37 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003896/1.614, allocations: 2.354 MB / 1.357 GB, free: 9.977 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007597/1.615, allocations: 1.128 MB / 1.358 GB, free: 8.82 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003204/1.616, allocations: 83.42 kB / 1.358 GB, free: 8.738 MB / 1.092 GB Notification: Performance of SimCode: time 1.222e-06/1.616, allocations: 0 / 1.358 GB, free: 8.738 MB / 1.092 GB Notification: Performance of Templates: time 0.03374/1.649, allocations: 18.81 MB / 1.376 GB, free: 6.016 MB / 1.107 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.makefile (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 & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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