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.008872/0.008872, allocations: 101.3 kB / 15.88 MB, free: 5.867 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.001525/0.001525, allocations: 191.8 kB / 16.79 MB, free: 5.809 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.679/1.679, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.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.616/2.616, allocations: 437 MB / 0.7106 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.89 kB / 0.8692 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7692/0.771, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2343/1.005, allocations: 211.4 MB / 1.224 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01479/1.02, allocations: 10.31 MB / 1.234 GB, free: 4.238 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/1.022, allocations: 31.81 kB / 1.234 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002305/1.025, allocations: 0.7387 MB / 1.235 GB, free: 3.465 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008029/1.033, allocations: 2.716 MB / 1.237 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004042/1.037, allocations: 1.296 MB / 1.238 GB, free: 15.44 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005858/1.043, allocations: 4.634 MB / 1.243 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/1.044, allocations: 0.8829 MB / 1.244 GB, free: 9.895 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/1.046, allocations: 0.9843 MB / 1.245 GB, free: 8.906 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002269/1.048, allocations: 1.109 MB / 1.246 GB, free: 7.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001615/1.049, allocations: 68 kB / 1.246 GB, free: 7.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006652/1.055, allocations: 3.203 MB / 1.249 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006552/1.056, allocations: 450.6 kB / 1.25 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001034/1.057, allocations: 0.6687 MB / 1.25 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003553/1.061, allocations: 2.062 MB / 1.252 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.061, allocations: 0 / 1.252 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.266e-06/1.061, allocations: 0 / 1.252 GB, free: 1.34 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.009e-05/1.061, allocations: 7.938 kB / 1.252 GB, free: 1.332 MB / 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.7963/1.857, allocations: 1.785 MB / 1.254 GB, free: 236.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.036e-05/1.857, allocations: 14.08 kB / 1.254 GB, free: 236.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003835/1.861, allocations: 422.9 kB / 1.254 GB, free: 236.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/1.863, allocations: 0.851 MB / 1.255 GB, free: 235.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001083/1.863, allocations: 76.95 kB / 1.255 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/1.863, allocations: 91.09 kB / 1.255 GB, free: 235.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003209/1.867, allocations: 1.205 MB / 1.257 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/1.867, allocations: 0.7188 kB / 1.257 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/1.867, allocations: 41.78 kB / 1.257 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000128/1.867, allocations: 53.3 kB / 1.257 GB, free: 235 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/1.87, allocations: 1.071 MB / 1.258 GB, free: 234.6 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.008956/1.879, allocations: 4.731 MB / 1.262 GB, free: 231.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/1.881, allocations: 0.9851 MB / 1.263 GB, free: 230.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/1.883, allocations: 0.5654 MB / 1.264 GB, free: 230.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007898/1.884, allocations: 0.6759 MB / 1.264 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/1.884, allocations: 47.53 kB / 1.265 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=82): time 4.919e-06/1.884, allocations: 1.219 kB / 1.265 GB, free: 229.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=83): time 0.006184/1.89, allocations: 2.301 MB / 1.267 GB, free: 228.4 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.968e-05/1.89, allocations: 65.38 kB / 1.267 GB, free: 228.3 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00134/1.891, allocations: 0.6354 MB / 1.267 GB, free: 228 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.311e-05/1.891, allocations: 42.81 kB / 1.267 GB, free: 228 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/1.892, allocations: 457.1 kB / 1.268 GB, free: 227.6 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003437/1.892, allocations: 294.3 kB / 1.268 GB, free: 227.4 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003207/1.892, allocations: 137.7 kB / 1.268 GB, free: 227.3 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0002018/1.893, allocations: 388 kB / 1.269 GB, free: 227 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007839/1.893, allocations: 324.5 kB / 1.269 GB, free: 226.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008299/1.894, allocations: 431.7 kB / 1.269 GB, free: 226.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/1.896, allocations: 0.7785 MB / 1.27 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.896, allocations: 0 / 1.27 GB, free: 226.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001924/1.898, allocations: 0.9574 MB / 1.271 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/1.898, allocations: 5.984 kB / 1.271 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/1.898, allocations: 2.719 kB / 1.271 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/1.898, allocations: 60.06 kB / 1.271 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/1.899, allocations: 156.4 kB / 1.271 GB, free: 225.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000448/1.899, allocations: 0.6041 MB / 1.272 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/1.9, allocations: 105.3 kB / 1.272 GB, free: 225.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-05/1.901, allocations: 28.77 kB / 1.272 GB, free: 225.2 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.0005818/1.901, allocations: 308.9 kB / 1.272 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/1.901, allocations: 89.16 kB / 1.272 GB, free: 225 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/1.903, allocations: 0.9274 MB / 1.273 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/1.903, allocations: 11.36 kB / 1.273 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/1.903, allocations: 4.766 kB / 1.273 GB, free: 224.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/1.904, allocations: 0.9374 MB / 1.274 GB, free: 224 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00392/1.908, allocations: 2.113 MB / 1.276 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/1.908, allocations: 0 / 1.276 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.909, allocations: 192.3 kB / 1.277 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/1.909, allocations: 5.312 kB / 1.277 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.514e-05/1.909, allocations: 19.94 kB / 1.277 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/1.909, allocations: 5.922 kB / 1.277 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.909, allocations: 0.7031 kB / 1.277 GB, free: 223 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002219/1.912, allocations: 1.396 MB / 1.278 GB, free: 222.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005616/1.912, allocations: 251.9 kB / 1.278 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/1.912, allocations: 17.34 kB / 1.278 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008757/1.913, allocations: 82.95 kB / 1.278 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001747/1.913, allocations: 50.73 kB / 1.278 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.882e-05/1.914, allocations: 28.03 kB / 1.278 GB, free: 222.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000681/1.914, allocations: 458.2 kB / 1.279 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.31e-07/1.914, allocations: 0 / 1.279 GB, free: 221.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001477/1.916, allocations: 317.8 kB / 1.279 GB, free: 221.9 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.000469/1.916, allocations: 216.2 kB / 1.279 GB, free: 221.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001706/1.918, allocations: 0.81 MB / 1.28 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.918, allocations: 0 / 1.28 GB, free: 221.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007171/1.919, allocations: 444 kB / 1.28 GB, free: 221.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002623/1.921, allocations: 0.5628 MB / 1.281 GB, free: 221.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/1.926, allocations: 2.815 MB / 1.284 GB, free: 219.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005312/1.926, allocations: 1.127 MB / 1.285 GB, free: 218.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/1.926, allocations: 82.25 kB / 1.285 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.926, allocations: 0 / 1.285 GB, free: 218.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02353/1.95, allocations: 18.69 MB / 1.303 GB, free: 202.1 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/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