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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001879/0.001879, allocations: 110.8 kB / 16.37 MB, free: 6.004 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.001833/0.001833, allocations: 195.8 kB / 17.31 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.498/1.498, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 65.78 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2916, allocations: 140.4 MB / 0.9511 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.8568/1.148, allocations: 213.7 MB / 1.16 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01927/1.168, allocations: 10.18 MB / 1.17 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003913/1.172, allocations: 37.06 kB / 1.17 GB, free: 500 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003315/1.175, allocations: 0.841 MB / 1.171 GB, free: 96 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008881/1.184, allocations: 2.895 MB / 1.173 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/1.188, allocations: 1.415 MB / 1.175 GB, free: 14.36 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005526/1.194, allocations: 3.168 MB / 1.178 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00174/1.196, allocations: 1.025 MB / 1.179 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002815/1.198, allocations: 1.129 MB / 1.18 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/1.201, allocations: 1.078 MB / 1.181 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0003088/1.202, allocations: 121.3 kB / 1.181 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006696/1.208, allocations: 2.732 MB / 1.184 GB, free: 11.08 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009626/1.209, allocations: 499.1 kB / 1.184 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/1.211, allocations: 0.7257 MB / 1.185 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006649/1.217, allocations: 2.812 MB / 1.188 GB, free: 9.203 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.218, allocations: 6.656 kB / 1.188 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.375e-06/1.218, allocations: 0 / 1.188 GB, free: 9.199 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.473e-05/1.218, allocations: 0 / 1.188 GB, free: 9.199 MB / 0.8731 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.004519/1.222, allocations: 1.787 MB / 1.189 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/1.222, allocations: 10.34 kB / 1.189 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002999/1.225, allocations: 432.9 kB / 1.19 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/1.227, allocations: 0.8915 MB / 1.191 GB, free: 7.023 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/1.227, allocations: 78.55 kB / 1.191 GB, free: 6.984 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/1.227, allocations: 90.94 kB / 1.191 GB, free: 6.957 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/1.229, allocations: 1.197 MB / 1.192 GB, free: 6.238 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/1.229, allocations: 4 kB / 1.192 GB, free: 6.234 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001025/1.229, allocations: 42.06 kB / 1.192 GB, free: 6.203 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.107e-05/1.229, allocations: 52.33 kB / 1.192 GB, free: 6.191 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/1.231, allocations: 1.068 MB / 1.193 GB, free: 5.66 MB / 0.8731 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.006733/1.238, allocations: 4.761 MB / 1.198 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/1.24, allocations: 0.994 MB / 1.199 GB, free: 0.8555 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000989/1.241, allocations: 0.5628 MB / 1.199 GB, free: 0.5859 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007449/1.241, allocations: 0.6746 MB / 1.2 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.428e-05/1.241, allocations: 47.94 kB / 1.2 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 3.717e-06/1.241, allocations: 0 / 1.2 GB, free: 15.77 MB / 0.8887 GB Notification: Performance of matching and sorting (n=83): time 0.004772/1.246, allocations: 2.295 MB / 1.202 GB, free: 14.41 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/1.246, allocations: 63.84 kB / 1.202 GB, free: 14.35 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008851/1.247, allocations: 0.6445 MB / 1.203 GB, free: 13.98 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 7.576e-05/1.247, allocations: 40.42 kB / 1.203 GB, free: 13.93 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003296/1.248, allocations: 461.7 kB / 1.204 GB, free: 13.53 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/1.248, allocations: 290.8 kB / 1.204 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/1.248, allocations: 136.1 kB / 1.204 GB, free: 13.2 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001903/1.248, allocations: 394.5 kB / 1.204 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/1.249, allocations: 318.5 kB / 1.205 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005833/1.25, allocations: 431.4 kB / 1.205 GB, free: 12.4 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001163/1.251, allocations: 0.7839 MB / 1.206 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/1.251, allocations: 0 / 1.206 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001743/1.252, allocations: 0.9521 MB / 1.207 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/1.252, allocations: 4.781 kB / 1.207 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.253, allocations: 6.578 kB / 1.207 GB, free: 11.44 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003094/1.253, allocations: 53.45 kB / 1.207 GB, free: 11.41 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006916/1.254, allocations: 160.2 kB / 1.207 GB, free: 11.38 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005535/1.254, allocations: 0.6092 MB / 1.208 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008954/1.255, allocations: 22.31 kB / 1.208 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/1.255, allocations: 36.8 kB / 1.208 GB, free: 10.77 MB / 0.8887 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.0006248/1.256, allocations: 296.2 kB / 1.208 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001811/1.256, allocations: 98.42 kB / 1.208 GB, free: 10.49 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/1.258, allocations: 0.9294 MB / 1.209 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.258, allocations: 7.531 kB / 1.209 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/1.258, allocations: 0 / 1.209 GB, free: 9.949 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001358/1.259, allocations: 0.9314 MB / 1.21 GB, free: 9.344 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003815/1.263, allocations: 2.113 MB / 1.212 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.263, allocations: 1.875 kB / 1.212 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009485/1.264, allocations: 194.9 kB / 1.212 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.185e-05/1.264, allocations: 2.875 kB / 1.212 GB, free: 7.914 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/1.264, allocations: 19.78 kB / 1.212 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/1.264, allocations: 9.703 kB / 1.212 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/1.264, allocations: 0 / 1.212 GB, free: 7.895 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/1.266, allocations: 1.383 MB / 1.213 GB, free: 7.125 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005929/1.267, allocations: 253.9 kB / 1.214 GB, free: 6.91 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/1.267, allocations: 18.62 kB / 1.214 GB, free: 6.895 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006445/1.268, allocations: 18.83 kB / 1.214 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.268, allocations: 54.58 kB / 1.214 GB, free: 6.855 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/1.268, allocations: 29.2 kB / 1.214 GB, free: 6.844 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005893/1.268, allocations: 457.6 kB / 1.214 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.268, allocations: 0 / 1.214 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.000922/1.269, allocations: 318.4 kB / 1.215 GB, free: 6.555 MB / 0.8887 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.00037/1.27, allocations: 218.9 kB / 1.215 GB, free: 6.406 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001337/1.271, allocations: 0.8142 MB / 1.216 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.271, allocations: 0 / 1.216 GB, free: 6.027 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.000622/1.272, allocations: 437.2 kB / 1.216 GB, free: 5.832 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/1.274, allocations: 0.5896 MB / 1.217 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/1.278, allocations: 2.296 MB / 1.219 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008612/1.279, allocations: 1.126 MB / 1.22 GB, free: 3.184 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001036/1.28, allocations: 253.9 kB / 1.22 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/1.281, allocations: 84.3 kB / 1.22 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of SimCode: time 1.022e-06/1.281, allocations: 0 / 1.22 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of Templates: time 0.0338/1.314, allocations: 20.47 MB / 1.24 GB, free: 1.496 MB / 0.9044 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 -s cvode -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