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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001453/0.001453, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001741/0.001741, allocations: 195.6 kB / 16.14 MB, free: 6.711 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.446/1.446, allocations: 222.9 MB / 239.8 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 472.7 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001406, allocations: 64.22 kB / 0.9114 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.444, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 1.288/1.732, allocations: 211.4 MB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01931/1.751, allocations: 10.31 MB / 1.284 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003539/1.755, allocations: 33.28 kB / 1.284 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003713/1.758, allocations: 0.7376 MB / 1.285 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01389/1.772, allocations: 2.719 MB / 1.287 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00615/1.778, allocations: 1.288 MB / 1.289 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01204/1.79, allocations: 4.636 MB / 1.293 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/1.793, allocations: 0.8816 MB / 1.294 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004548/1.798, allocations: 0.9781 MB / 1.295 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004849/1.803, allocations: 1.121 MB / 1.296 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003912/1.803, allocations: 68.89 kB / 1.296 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/1.815, allocations: 3.196 MB / 1.299 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001533/1.816, allocations: 448 kB / 1.3 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002528/1.819, allocations: 0.6695 MB / 1.3 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/1.83, allocations: 2.946 MB / 1.303 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.268e-05/1.83, allocations: 0 / 1.303 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.447e-06/1.83, allocations: 1.031 kB / 1.303 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.008e-05/1.83, allocations: 0 / 1.303 GB, free: 4.484 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.007134/1.837, allocations: 1.793 MB / 1.305 GB, free: 19.6 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.224e-05/1.837, allocations: 10.44 kB / 1.305 GB, free: 19.6 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003732/1.841, allocations: 439 kB / 1.306 GB, free: 19.52 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/1.843, allocations: 0.8542 MB / 1.306 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/1.843, allocations: 68.47 kB / 1.306 GB, free: 19.19 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/1.843, allocations: 101.6 kB / 1.307 GB, free: 19.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00308/1.846, allocations: 1.195 MB / 1.308 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.797e-05/1.846, allocations: 3.969 kB / 1.308 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001265/1.846, allocations: 41.06 kB / 1.308 GB, free: 19.05 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/1.846, allocations: 57.17 kB / 1.308 GB, free: 19.04 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002547/1.849, allocations: 1.068 MB / 1.309 GB, free: 19.04 MB / 1.014 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.007866/1.857, allocations: 4.734 MB / 1.313 GB, free: 16.33 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00192/1.859, allocations: 0.9873 MB / 1.314 GB, free: 16.1 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/1.86, allocations: 0.5722 MB / 1.315 GB, free: 16.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008607/1.861, allocations: 0.6731 MB / 1.316 GB, free: 15.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.479e-05/1.861, allocations: 45.48 kB / 1.316 GB, free: 15.29 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 4.849e-06/1.861, allocations: 4 kB / 1.316 GB, free: 15.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=83): time 0.006157/1.867, allocations: 2.305 MB / 1.318 GB, free: 14.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/1.867, allocations: 62.12 kB / 1.318 GB, free: 14.71 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/1.868, allocations: 0.6357 MB / 1.319 GB, free: 14.59 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.266e-05/1.868, allocations: 41.33 kB / 1.319 GB, free: 14.55 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/1.869, allocations: 459.5 kB / 1.319 GB, free: 14.34 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/1.869, allocations: 295.8 kB / 1.319 GB, free: 14.16 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/1.869, allocations: 132.6 kB / 1.319 GB, free: 14.14 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002296/1.87, allocations: 391.4 kB / 1.32 GB, free: 13.83 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005353/1.87, allocations: 320 kB / 1.32 GB, free: 13.82 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/1.871, allocations: 432.7 kB / 1.321 GB, free: 13.74 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/1.872, allocations: 0.7816 MB / 1.321 GB, free: 13.65 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.872, allocations: 0 / 1.321 GB, free: 13.65 MB / 1.014 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001835/1.874, allocations: 0.9481 MB / 1.322 GB, free: 13.54 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/1.874, allocations: 16.62 kB / 1.322 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/1.874, allocations: 0 / 1.322 GB, free: 13.53 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003498/1.874, allocations: 58.44 kB / 1.322 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007546/1.875, allocations: 156.5 kB / 1.322 GB, free: 13.52 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005043/1.876, allocations: 0.604 MB / 1.323 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/1.877, allocations: 115.5 kB / 1.323 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.917e-05/1.877, allocations: 25.73 kB / 1.323 GB, free: 12.98 MB / 1.014 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.0007455/1.878, allocations: 308.2 kB / 1.324 GB, free: 12.86 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.878, allocations: 88.59 kB / 1.324 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001774/1.88, allocations: 0.9326 MB / 1.325 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/1.88, allocations: 8.562 kB / 1.325 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.88, allocations: 0 / 1.325 GB, free: 12.73 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/1.881, allocations: 0.9317 MB / 1.325 GB, free: 12.46 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003505/1.885, allocations: 2.108 MB / 1.327 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/1.885, allocations: 4 kB / 1.327 GB, free: 12.13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/1.886, allocations: 194.6 kB / 1.328 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.886, allocations: 7.312 kB / 1.328 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-05/1.886, allocations: 17.56 kB / 1.328 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/1.886, allocations: 2.594 kB / 1.328 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.886, allocations: 0 / 1.328 GB, free: 12.12 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001877/1.888, allocations: 1.391 MB / 1.329 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/1.888, allocations: 252.5 kB / 1.329 GB, free: 11.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/1.888, allocations: 18.31 kB / 1.329 GB, free: 11.76 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008912/1.889, allocations: 87.38 kB / 1.329 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/1.889, allocations: 56.97 kB / 1.329 GB, free: 11.75 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/1.889, allocations: 26.78 kB / 1.329 GB, free: 11.75 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005991/1.89, allocations: 455.9 kB / 1.33 GB, free: 11.65 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.9e-07/1.89, allocations: 0 / 1.33 GB, free: 11.65 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001114/1.891, allocations: 317.2 kB / 1.33 GB, free: 11.65 MB / 1.014 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.0003897/1.892, allocations: 218 kB / 1.33 GB, free: 11.53 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001379/1.893, allocations: 0.8158 MB / 1.331 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/1.893, allocations: 0 / 1.331 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005979/1.894, allocations: 440.3 kB / 1.332 GB, free: 11.51 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/1.896, allocations: 0.5632 MB / 1.332 GB, free: 11.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/1.9, allocations: 2.743 MB / 1.335 GB, free: 9.977 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/1.901, allocations: 1.118 MB / 1.336 GB, free: 9.262 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001231/1.902, allocations: 259.2 kB / 1.336 GB, free: 9.195 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/1.902, allocations: 77.7 kB / 1.336 GB, free: 9.188 MB / 1.014 GB Notification: Performance of SimCode: time 1.232e-06/1.902, allocations: 4 kB / 1.336 GB, free: 9.184 MB / 1.014 GB Notification: Performance of Templates: time 0.03696/1.939, allocations: 19.53 MB / 1.355 GB, free: 2.594 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches