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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.008055/0.008055, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001724/0.001724, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.168/2.168, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.89 kB / 0.9508 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9378/0.9392, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.2646/1.204, allocations: 213.6 MB / 1.297 GB, free: 7.93 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01533/1.219, allocations: 10.2 MB / 1.306 GB, free: 13.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002111/1.221, allocations: 39.81 kB / 1.307 GB, free: 13.67 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002432/1.224, allocations: 0.8742 MB / 1.307 GB, free: 12.79 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.008199/1.232, allocations: 2.976 MB / 1.31 GB, free: 9.801 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004424/1.237, allocations: 1.433 MB / 1.312 GB, free: 8.367 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005094/1.242, allocations: 3.167 MB / 1.315 GB, free: 5.191 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001935/1.244, allocations: 1.026 MB / 1.316 GB, free: 4.145 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/1.247, allocations: 1.168 MB / 1.317 GB, free: 2.973 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002713/1.249, allocations: 1.079 MB / 1.318 GB, free: 1.895 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0004285/1.25, allocations: 120 kB / 1.318 GB, free: 1.777 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006343/1.256, allocations: 2.763 MB / 1.321 GB, free: 15 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008958/1.257, allocations: 498.5 kB / 1.321 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001924/1.259, allocations: 0.7273 MB / 1.322 GB, free: 13.79 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.007127/1.266, allocations: 2.801 MB / 1.325 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/1.266, allocations: 0 / 1.325 GB, free: 10.98 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.206e-06/1.266, allocations: 0 / 1.325 GB, free: 10.98 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.206e-05/1.266, allocations: 0 / 1.325 GB, free: 10.98 MB / 1.061 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.007069/1.273, allocations: 1.791 MB / 1.326 GB, free: 9.137 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/1.273, allocations: 12.03 kB / 1.326 GB, free: 9.125 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003433/1.277, allocations: 430 kB / 1.327 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001836/1.279, allocations: 0.8941 MB / 1.328 GB, free: 7.766 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/1.279, allocations: 66 kB / 1.328 GB, free: 7.699 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/1.279, allocations: 103.9 kB / 1.328 GB, free: 7.598 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/1.281, allocations: 1.202 MB / 1.329 GB, free: 6.363 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.006e-05/1.281, allocations: 3.906 kB / 1.329 GB, free: 6.359 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.706e-05/1.281, allocations: 40 kB / 1.329 GB, free: 6.32 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.511e-05/1.281, allocations: 53.98 kB / 1.329 GB, free: 6.266 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/1.283, allocations: 1.073 MB / 1.33 GB, free: 5.191 MB / 1.061 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.005771/1.289, allocations: 4.75 MB / 1.335 GB, free: 44 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/1.29, allocations: 0.9885 MB / 1.336 GB, free: 15.01 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/1.291, allocations: 0.5948 MB / 1.336 GB, free: 14.42 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000654/1.292, allocations: 0.6733 MB / 1.337 GB, free: 13.6 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/1.292, allocations: 43.22 kB / 1.337 GB, free: 13.55 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 3.526e-06/1.292, allocations: 0 / 1.337 GB, free: 13.55 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.004401/1.296, allocations: 2.308 MB / 1.339 GB, free: 11.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/1.296, allocations: 64.34 kB / 1.339 GB, free: 11.11 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007617/1.297, allocations: 0.6372 MB / 1.34 GB, free: 10.47 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.275e-05/1.297, allocations: 45.69 kB / 1.34 GB, free: 10.42 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000318/1.298, allocations: 456 kB / 1.341 GB, free: 9.965 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000245/1.298, allocations: 295.7 kB / 1.341 GB, free: 9.672 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002131/1.298, allocations: 138.6 kB / 1.341 GB, free: 9.531 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001652/1.298, allocations: 390.7 kB / 1.341 GB, free: 9.141 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/1.299, allocations: 325.8 kB / 1.342 GB, free: 8.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/1.299, allocations: 418.5 kB / 1.342 GB, free: 8.383 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001143/1.301, allocations: 0.7846 MB / 1.343 GB, free: 7.574 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.301, allocations: 0 / 1.343 GB, free: 7.574 MB / 1.076 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001519/1.302, allocations: 0.9541 MB / 1.344 GB, free: 6.609 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/1.302, allocations: 4 kB / 1.344 GB, free: 6.605 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.302, allocations: 7.938 kB / 1.344 GB, free: 6.598 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002745/1.302, allocations: 56.83 kB / 1.344 GB, free: 6.539 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007011/1.303, allocations: 156.1 kB / 1.344 GB, free: 6.387 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004987/1.304, allocations: 0.6148 MB / 1.345 GB, free: 5.746 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000754/1.304, allocations: 19.91 kB / 1.345 GB, free: 5.727 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/1.304, allocations: 27.98 kB / 1.345 GB, free: 5.699 MB / 1.076 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.00046/1.305, allocations: 307.9 kB / 1.345 GB, free: 5.391 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001465/1.305, allocations: 90.97 kB / 1.345 GB, free: 5.301 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/1.307, allocations: 0.9246 MB / 1.346 GB, free: 4.363 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.307, allocations: 8 kB / 1.346 GB, free: 4.355 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.307, allocations: 0 / 1.346 GB, free: 4.355 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/1.308, allocations: 0.931 MB / 1.347 GB, free: 3.375 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003/1.311, allocations: 2.114 MB / 1.349 GB, free: 1.207 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/1.311, allocations: 0 / 1.349 GB, free: 1.207 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009382/1.312, allocations: 187.8 kB / 1.349 GB, free: 1.023 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.312, allocations: 7.938 kB / 1.349 GB, free: 1.016 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.448e-05/1.312, allocations: 16 kB / 1.349 GB, free: 1 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.043e-06/1.312, allocations: 7.984 kB / 1.349 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.312, allocations: 0 / 1.349 GB, free: 0.9922 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/1.314, allocations: 1.392 MB / 1.35 GB, free: 15.58 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004238/1.315, allocations: 255.8 kB / 1.351 GB, free: 15.31 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/1.315, allocations: 16 kB / 1.351 GB, free: 15.29 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006565/1.315, allocations: 32.98 kB / 1.351 GB, free: 15.26 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.316, allocations: 52.92 kB / 1.351 GB, free: 15.21 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.73e-05/1.316, allocations: 23.98 kB / 1.351 GB, free: 15.19 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005221/1.316, allocations: 455 kB / 1.351 GB, free: 14.75 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.6e-07/1.316, allocations: 8 kB / 1.351 GB, free: 14.74 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.000894/1.317, allocations: 315.9 kB / 1.352 GB, free: 14.43 MB / 1.092 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.0003936/1.317, allocations: 211.1 kB / 1.352 GB, free: 14.22 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001362/1.319, allocations: 0.8207 MB / 1.353 GB, free: 13.4 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/1.319, allocations: 0.5 kB / 1.353 GB, free: 13.4 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006171/1.319, allocations: 441.6 kB / 1.353 GB, free: 12.97 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/1.322, allocations: 0.5971 MB / 1.354 GB, free: 12.39 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/1.325, allocations: 2.283 MB / 1.356 GB, free: 10.08 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/1.326, allocations: 1.128 MB / 1.357 GB, free: 8.922 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0008114/1.327, allocations: 247.8 kB / 1.357 GB, free: 8.676 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/1.327, allocations: 75.42 kB / 1.357 GB, free: 8.602 MB / 1.092 GB Notification: Performance of SimCode: time 6.11e-07/1.327, allocations: 3.938 kB / 1.357 GB, free: 8.598 MB / 1.092 GB Notification: Performance of Templates: time 0.03397/1.361, allocations: 20.66 MB / 1.377 GB, free: 4.215 MB / 1.107 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches