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.001586/0.001586, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002203/0.002203, allocations: 192 kB / 16.14 MB, free: 6.645 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.416/1.416, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.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.512/2.512, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.89 kB / 0.8685 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6486/0.6498, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.229/0.8789, allocations: 211.5 MB / 1.223 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01387/0.8928, allocations: 10.3 MB / 1.233 GB, free: 4.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.8945, allocations: 35.75 kB / 1.233 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002208/0.8968, allocations: 0.7387 MB / 1.234 GB, free: 3.457 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.007584/0.9044, allocations: 2.72 MB / 1.237 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.9081, allocations: 1.293 MB / 1.238 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005854/0.914, allocations: 4.634 MB / 1.242 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001747/0.9157, allocations: 0.879 MB / 1.243 GB, free: 9.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002366/0.9181, allocations: 0.9843 MB / 1.244 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.9211, allocations: 1.125 MB / 1.245 GB, free: 7.781 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003643/0.9215, allocations: 68 kB / 1.245 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006351/0.9279, allocations: 3.199 MB / 1.248 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007985/0.9287, allocations: 446.6 kB / 1.249 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001536/0.9302, allocations: 0.6571 MB / 1.25 GB, free: 3.41 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006609/0.9368, allocations: 2.949 MB / 1.252 GB, free: 464 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.9369, allocations: 4 kB / 1.252 GB, free: 460 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9369, allocations: 0 / 1.252 GB, free: 460 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.542e-05/0.937, allocations: 0 / 1.252 GB, free: 460 kB / 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.6432/1.58, allocations: 1.791 MB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.58, allocations: 9.875 kB / 1.254 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003428/1.584, allocations: 426 kB / 1.255 GB, free: 236.4 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001744/1.585, allocations: 0.8524 MB / 1.255 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.775e-05/1.585, allocations: 76.06 kB / 1.255 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/1.586, allocations: 91.67 kB / 1.256 GB, free: 235.8 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/1.588, allocations: 1.197 MB / 1.257 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/1.588, allocations: 9.859 kB / 1.257 GB, free: 235.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/1.588, allocations: 41.41 kB / 1.257 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001043/1.589, allocations: 56.69 kB / 1.257 GB, free: 235.2 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/1.591, allocations: 1.068 MB / 1.258 GB, free: 234.9 MB / 0.9981 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.006211/1.597, allocations: 4.737 MB / 1.263 GB, free: 231.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001795/1.599, allocations: 0.9816 MB / 1.263 GB, free: 230.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/1.6, allocations: 0.5692 MB / 1.264 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/1.601, allocations: 0.6721 MB / 1.265 GB, free: 229.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/1.601, allocations: 44.22 kB / 1.265 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 2.815e-06/1.601, allocations: 3.438 kB / 1.265 GB, free: 229.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.005518/1.606, allocations: 2.308 MB / 1.267 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/1.607, allocations: 61.09 kB / 1.267 GB, free: 228.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/1.608, allocations: 0.6388 MB / 1.268 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.59e-05/1.608, allocations: 41.64 kB / 1.268 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/1.608, allocations: 462.4 kB / 1.268 GB, free: 227.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002396/1.608, allocations: 286.7 kB / 1.268 GB, free: 227.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002645/1.609, allocations: 137.4 kB / 1.269 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.609, allocations: 392.2 kB / 1.269 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005864/1.609, allocations: 322.6 kB / 1.269 GB, free: 227.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006143/1.61, allocations: 429.5 kB / 1.27 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/1.611, allocations: 0.7824 MB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/1.611, allocations: 1.094 kB / 1.27 GB, free: 226.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001655/1.613, allocations: 0.9528 MB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.613, allocations: 5.375 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.613, allocations: 7.234 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002877/1.613, allocations: 56.3 kB / 1.271 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/1.614, allocations: 155.6 kB / 1.272 GB, free: 226.1 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003931/1.614, allocations: 0.6086 MB / 1.272 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/1.615, allocations: 105.9 kB / 1.272 GB, free: 225.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/1.616, allocations: 28.38 kB / 1.272 GB, free: 225.5 MB / 0.9981 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.0004944/1.616, allocations: 305.8 kB / 1.273 GB, free: 225.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001722/1.616, allocations: 88.97 kB / 1.273 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001628/1.618, allocations: 0.9268 MB / 1.274 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/1.618, allocations: 9.062 kB / 1.274 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.493e-06/1.618, allocations: 3.969 kB / 1.274 GB, free: 224.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001161/1.619, allocations: 0.9301 MB / 1.274 GB, free: 224.3 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/1.622, allocations: 2.112 MB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.622, allocations: 1.125 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/1.624, allocations: 191.6 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/1.624, allocations: 4.984 kB / 1.277 GB, free: 223.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.797e-05/1.624, allocations: 19.56 kB / 1.277 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.423e-06/1.624, allocations: 3.219 kB / 1.277 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.624, allocations: 4.469 kB / 1.277 GB, free: 223.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/1.626, allocations: 1.397 MB / 1.278 GB, free: 222.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005938/1.626, allocations: 251.6 kB / 1.278 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/1.627, allocations: 17.14 kB / 1.278 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009073/1.627, allocations: 83.27 kB / 1.278 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001671/1.628, allocations: 53.31 kB / 1.278 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.112e-05/1.628, allocations: 26.94 kB / 1.279 GB, free: 222.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0006544/1.628, allocations: 458 kB / 1.279 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.11e-07/1.628, allocations: 0 / 1.279 GB, free: 222.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001124/1.63, allocations: 319.6 kB / 1.279 GB, free: 222.1 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.0004148/1.63, allocations: 211.3 kB / 1.279 GB, free: 222 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001565/1.632, allocations: 0.8095 MB / 1.28 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/1.632, allocations: 4.062 kB / 1.28 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006864/1.632, allocations: 441.1 kB / 1.281 GB, free: 221.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002561/1.635, allocations: 0.5683 MB / 1.281 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/1.638, allocations: 2.746 MB / 1.284 GB, free: 219.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/1.639, allocations: 1.121 MB / 1.285 GB, free: 219 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001112/1.64, allocations: 253.9 kB / 1.285 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/1.64, allocations: 78.73 kB / 1.285 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.64, allocations: 0 / 1.285 GB, free: 218.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.02561/1.666, allocations: 19.54 MB / 1.304 GB, free: 200.9 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches