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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001892/0.001892, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.002044/0.002044, allocations: 196.8 kB / 17.3 MB, free: 5.48 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 66.05 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3513, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.9811/1.333, allocations: 213.7 MB / 1.235 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01602/1.349, allocations: 10.19 MB / 1.245 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002427/1.351, allocations: 39.81 kB / 1.245 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002694/1.354, allocations: 0.8352 MB / 1.246 GB, free: 12.6 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009325/1.363, allocations: 2.895 MB / 1.249 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00483/1.368, allocations: 1.414 MB / 1.25 GB, free: 8.281 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005469/1.374, allocations: 3.166 MB / 1.253 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/1.375, allocations: 1.026 MB / 1.254 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002423/1.378, allocations: 1.129 MB / 1.256 GB, free: 2.93 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002335/1.38, allocations: 1.077 MB / 1.257 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002018/1.38, allocations: 120 kB / 1.257 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006165/1.386, allocations: 2.736 MB / 1.259 GB, free: 15 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006358/1.387, allocations: 0.4908 MB / 1.26 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.388, allocations: 0.7234 MB / 1.261 GB, free: 13.78 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005308/1.393, allocations: 2.805 MB / 1.263 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/1.393, allocations: 4 kB / 1.263 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.753e-06/1.393, allocations: 0 / 1.263 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.54e-05/1.394, allocations: 0 / 1.263 GB, free: 10.96 MB / 0.9669 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.004055/1.398, allocations: 1.788 MB / 1.265 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.398, allocations: 8.031 kB / 1.265 GB, free: 9.113 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002952/1.401, allocations: 434.9 kB / 1.266 GB, free: 8.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001728/1.402, allocations: 0.8901 MB / 1.266 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/1.402, allocations: 74 kB / 1.266 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/1.403, allocations: 99.98 kB / 1.267 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/1.405, allocations: 1.202 MB / 1.268 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.084e-05/1.405, allocations: 4 kB / 1.268 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/1.405, allocations: 40 kB / 1.268 GB, free: 6.305 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.85e-05/1.405, allocations: 53.92 kB / 1.268 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001856/1.407, allocations: 1.066 MB / 1.269 GB, free: 5.184 MB / 0.9669 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.006258/1.413, allocations: 4.761 MB / 1.273 GB, free: 32 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001543/1.415, allocations: 0.9893 MB / 1.274 GB, free: 15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009939/1.416, allocations: 0.5714 MB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000721/1.416, allocations: 0.6694 MB / 1.276 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.666e-05/1.416, allocations: 43.22 kB / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.444e-06/1.416, allocations: 0 / 1.276 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of matching and sorting (n=83): time 0.00476/1.421, allocations: 2.296 MB / 1.278 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/1.421, allocations: 60.41 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009818/1.422, allocations: 0.6488 MB / 1.279 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.934e-05/1.422, allocations: 41.7 kB / 1.279 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004595/1.423, allocations: 456.1 kB / 1.279 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003549/1.423, allocations: 291.7 kB / 1.279 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002613/1.424, allocations: 138.6 kB / 1.28 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002732/1.424, allocations: 390.8 kB / 1.28 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/1.424, allocations: 321.8 kB / 1.28 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006201/1.425, allocations: 430.5 kB / 1.281 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/1.426, allocations: 0.7807 MB / 1.281 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/1.426, allocations: 0 / 1.281 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001598/1.428, allocations: 0.9464 MB / 1.282 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/1.428, allocations: 11.98 kB / 1.282 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.428, allocations: 0 / 1.282 GB, free: 6.629 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002999/1.428, allocations: 56.83 kB / 1.282 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007313/1.429, allocations: 159.7 kB / 1.283 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005809/1.429, allocations: 0.6126 MB / 1.283 GB, free: 5.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000784/1.43, allocations: 19.94 kB / 1.283 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.75e-05/1.43, allocations: 24 kB / 1.283 GB, free: 5.734 MB / 0.9825 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.0005568/1.431, allocations: 309.5 kB / 1.283 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001698/1.431, allocations: 98.81 kB / 1.284 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001883/1.433, allocations: 0.9286 MB / 1.284 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/1.433, allocations: 8 kB / 1.284 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.433, allocations: 3.938 kB / 1.284 GB, free: 4.371 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/1.434, allocations: 0.9309 MB / 1.285 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/1.438, allocations: 2.114 MB / 1.287 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/1.438, allocations: 0.625 kB / 1.287 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009377/1.438, allocations: 195.8 kB / 1.288 GB, free: 1.023 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/1.439, allocations: 4 kB / 1.288 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.607e-05/1.439, allocations: 15.98 kB / 1.288 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.439, allocations: 8.438 kB / 1.288 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/1.439, allocations: 0 / 1.288 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/1.441, allocations: 1.392 MB / 1.289 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004643/1.441, allocations: 248 kB / 1.289 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/1.441, allocations: 19.94 kB / 1.289 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006358/1.442, allocations: 32.7 kB / 1.289 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/1.442, allocations: 52.92 kB / 1.289 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.853e-05/1.442, allocations: 24 kB / 1.289 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005525/1.443, allocations: 463 kB / 1.29 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.6e-07/1.443, allocations: 0 / 1.29 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0008614/1.444, allocations: 323.9 kB / 1.29 GB, free: 14.44 MB / 0.9981 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.0003859/1.444, allocations: 197.4 kB / 1.29 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001405/1.445, allocations: 0.8168 MB / 1.291 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.445, allocations: 0 / 1.291 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006326/1.446, allocations: 441.6 kB / 1.292 GB, free: 13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/1.448, allocations: 0.5901 MB / 1.292 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003754/1.452, allocations: 2.289 MB / 1.294 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/1.453, allocations: 1.12 MB / 1.295 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008232/1.454, allocations: 255.8 kB / 1.296 GB, free: 8.699 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/1.454, allocations: 83.42 kB / 1.296 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of SimCode: time 7.21e-07/1.454, allocations: 0 / 1.296 GB, free: 8.617 MB / 0.9981 GB Notification: Performance of Templates: time 0.03469/1.489, allocations: 20.48 MB / 1.316 GB, free: 4.395 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 -s cvode -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