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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001444/0.001444, allocations: 115.6 kB / 16.37 MB, free: 5.539 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.001708/0.001708, allocations: 187.5 kB / 17.3 MB, free: 5.184 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.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.88 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3475, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.9091/1.257, allocations: 213.7 MB / 1.227 GB, free: 2.137 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0172/1.274, allocations: 10.2 MB / 1.237 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002824/1.277, allocations: 39.81 kB / 1.237 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002702/1.279, allocations: 0.8313 MB / 1.238 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/1.29, allocations: 2.89 MB / 1.241 GB, free: 5.207 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/1.294, allocations: 1.412 MB / 1.242 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00493/1.299, allocations: 3.171 MB / 1.246 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001665/1.301, allocations: 1.026 MB / 1.247 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/1.303, allocations: 1.133 MB / 1.248 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002401/1.306, allocations: 1.075 MB / 1.249 GB, free: 13.37 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/1.306, allocations: 124 kB / 1.249 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006155/1.312, allocations: 2.735 MB / 1.251 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0007614/1.313, allocations: 0.4909 MB / 1.252 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0013/1.314, allocations: 0.7234 MB / 1.253 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.007469/1.322, allocations: 2.809 MB / 1.255 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/1.322, allocations: 0 / 1.255 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.896e-06/1.322, allocations: 0 / 1.255 GB, free: 6.469 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.401e-05/1.322, allocations: 0 / 1.255 GB, free: 6.469 MB / 0.9512 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.0046/1.326, allocations: 1.788 MB / 1.257 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/1.326, allocations: 16.86 kB / 1.257 GB, free: 4.613 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/1.329, allocations: 430.6 kB / 1.258 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/1.331, allocations: 0.8902 MB / 1.258 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.416e-05/1.331, allocations: 73.94 kB / 1.259 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002646/1.332, allocations: 96 kB / 1.259 GB, free: 3.09 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/1.334, allocations: 1.194 MB / 1.26 GB, free: 1.863 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/1.334, allocations: 7.984 kB / 1.26 GB, free: 1.855 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.7e-05/1.334, allocations: 44 kB / 1.26 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.307e-05/1.334, allocations: 49.98 kB / 1.26 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/1.336, allocations: 1.07 MB / 1.261 GB, free: 0.6953 MB / 0.9512 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.005969/1.342, allocations: 4.754 MB / 1.266 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/1.343, allocations: 0.988 MB / 1.267 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000939/1.344, allocations: 0.5643 MB / 1.267 GB, free: 9.949 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000677/1.345, allocations: 0.6811 MB / 1.268 GB, free: 9.117 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.899e-05/1.345, allocations: 43.16 kB / 1.268 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=82): time 2.024e-06/1.345, allocations: 0 / 1.268 GB, free: 9.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=83): time 0.004346/1.349, allocations: 2.296 MB / 1.27 GB, free: 6.715 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.349, allocations: 64.41 kB / 1.27 GB, free: 6.641 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008155/1.35, allocations: 0.645 MB / 1.271 GB, free: 5.988 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 6.84e-05/1.35, allocations: 41.7 kB / 1.271 GB, free: 5.941 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/1.35, allocations: 456 kB / 1.271 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/1.351, allocations: 291.7 kB / 1.271 GB, free: 5.199 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/1.351, allocations: 130.6 kB / 1.272 GB, free: 5.066 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001785/1.351, allocations: 394.7 kB / 1.272 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/1.352, allocations: 321.8 kB / 1.272 GB, free: 4.355 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005549/1.352, allocations: 430.5 kB / 1.273 GB, free: 3.906 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/1.353, allocations: 0.7768 MB / 1.273 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.353, allocations: 4 kB / 1.273 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001558/1.355, allocations: 0.9502 MB / 1.274 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/1.355, allocations: 8 kB / 1.274 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/1.355, allocations: 0 / 1.274 GB, free: 2.133 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/1.355, allocations: 60.83 kB / 1.274 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/1.356, allocations: 159.7 kB / 1.275 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005322/1.356, allocations: 0.6149 MB / 1.275 GB, free: 1.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/1.357, allocations: 31.86 kB / 1.275 GB, free: 1.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.666e-05/1.357, allocations: 28 kB / 1.275 GB, free: 1.215 MB / 0.9669 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.000505/1.358, allocations: 297.6 kB / 1.276 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/1.358, allocations: 90.91 kB / 1.276 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/1.36, allocations: 0.9345 MB / 1.277 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/1.36, allocations: 12 kB / 1.277 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/1.36, allocations: 0 / 1.277 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001211/1.361, allocations: 0.9232 MB / 1.277 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/1.364, allocations: 2.11 MB / 1.28 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.364, allocations: 4 kB / 1.28 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009805/1.365, allocations: 195.8 kB / 1.28 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.898e-06/1.365, allocations: 3.984 kB / 1.28 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/1.365, allocations: 20 kB / 1.28 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/1.365, allocations: 7.938 kB / 1.28 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/1.365, allocations: 0 / 1.28 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/1.367, allocations: 1.392 MB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/1.368, allocations: 252 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001197/1.368, allocations: 19.94 kB / 1.281 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/1.368, allocations: 21.48 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.368, allocations: 48.94 kB / 1.281 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-05/1.369, allocations: 31.98 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005548/1.369, allocations: 451 kB / 1.282 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/1.369, allocations: 0 / 1.282 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0008776/1.37, allocations: 323.9 kB / 1.282 GB, free: 9.961 MB / 0.9825 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.0003833/1.37, allocations: 210 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001398/1.372, allocations: 0.8168 MB / 1.283 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.372, allocations: 0 / 1.283 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0006173/1.372, allocations: 441.6 kB / 1.284 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/1.375, allocations: 0.6019 MB / 1.284 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003631/1.378, allocations: 2.279 MB / 1.286 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/1.379, allocations: 1.124 MB / 1.288 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0009362/1.38, allocations: 255.8 kB / 1.288 GB, free: 4.195 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/1.38, allocations: 83.42 kB / 1.288 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of SimCode: time 1.062e-06/1.38, allocations: 0 / 1.288 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of Templates: time 0.03345/1.414, allocations: 20.47 MB / 1.308 GB, free: 15.92 MB / 1.014 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches