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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.007299/0.007299, allocations: 98.55 kB / 15.73 MB, free: 6.047 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: 193.6 kB / 16.67 MB, free: 5.969 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.91 kB / 1.019 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2928/0.2941, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.8315/1.126, allocations: 213.6 MB / 1.375 GB, free: 2.305 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01427/1.14, allocations: 10.19 MB / 1.385 GB, free: 10.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001737/1.142, allocations: 40.06 kB / 1.385 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002332/1.144, allocations: 0.8393 MB / 1.386 GB, free: 9.469 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.008421/1.153, allocations: 2.89 MB / 1.389 GB, free: 7.254 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.003887/1.156, allocations: 1.415 MB / 1.39 GB, free: 6.172 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.004444/1.161, allocations: 3.165 MB / 1.393 GB, free: 4.371 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/1.162, allocations: 1.031 MB / 1.394 GB, free: 3.734 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/1.165, allocations: 1.121 MB / 1.395 GB, free: 3.109 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002186/1.167, allocations: 1.074 MB / 1.396 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001951/1.167, allocations: 121.2 kB / 1.397 GB, free: 2.484 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005774/1.173, allocations: 2.738 MB / 1.399 GB, free: 0.9531 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0006409/1.173, allocations: 0.4921 MB / 1.4 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000941/1.174, allocations: 0.725 MB / 1.4 GB, free: 160 kB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005254/1.18, allocations: 2.814 MB / 1.403 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/1.18, allocations: 0 / 1.403 GB, free: 14.41 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.573e-06/1.18, allocations: 0 / 1.403 GB, free: 14.41 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.499e-05/1.18, allocations: 2.812 kB / 1.403 GB, free: 14.41 MB / 1.076 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.004095/1.184, allocations: 1.842 MB / 1.405 GB, free: 13.03 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/1.184, allocations: 7.531 kB / 1.405 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002905/1.187, allocations: 429.3 kB / 1.405 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/1.188, allocations: 0.9039 MB / 1.406 GB, free: 12.13 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.177e-05/1.188, allocations: 78.14 kB / 1.406 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/1.188, allocations: 98.72 kB / 1.406 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/1.19, allocations: 1.201 MB / 1.408 GB, free: 11.33 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.983e-05/1.19, allocations: 3.953 kB / 1.408 GB, free: 11.32 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-05/1.191, allocations: 37.97 kB / 1.408 GB, free: 11.3 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-05/1.191, allocations: 57.17 kB / 1.408 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/1.192, allocations: 1.068 MB / 1.409 GB, free: 10.75 MB / 1.076 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.005762/1.198, allocations: 4.762 MB / 1.413 GB, free: 6.535 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.2, allocations: 0.9839 MB / 1.414 GB, free: 5.906 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/1.201, allocations: 0.5972 MB / 1.415 GB, free: 5.602 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006692/1.202, allocations: 0.675 MB / 1.416 GB, free: 4.828 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/1.202, allocations: 39.31 kB / 1.416 GB, free: 4.785 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 2.695e-06/1.202, allocations: 0 / 1.416 GB, free: 4.785 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.004523/1.206, allocations: 2.318 MB / 1.418 GB, free: 2.484 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/1.206, allocations: 60.41 kB / 1.418 GB, free: 2.414 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008303/1.207, allocations: 0.6489 MB / 1.419 GB, free: 1.754 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.631e-05/1.207, allocations: 41.7 kB / 1.419 GB, free: 1.707 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003045/1.207, allocations: 464.9 kB / 1.419 GB, free: 1.246 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002423/1.208, allocations: 305.3 kB / 1.419 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/1.208, allocations: 134.6 kB / 1.42 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002036/1.208, allocations: 398.7 kB / 1.42 GB, free: 416 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005465/1.209, allocations: 317.8 kB / 1.42 GB, free: 100 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006717/1.209, allocations: 426.5 kB / 1.421 GB, free: 15.66 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/1.211, allocations: 0.7884 MB / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.211, allocations: 4 kB / 1.421 GB, free: 14.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.001631/1.212, allocations: 0.9507 MB / 1.422 GB, free: 13.88 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/1.212, allocations: 4 kB / 1.422 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.212, allocations: 4 kB / 1.422 GB, free: 13.87 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/1.213, allocations: 63.27 kB / 1.422 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007416/1.213, allocations: 155.8 kB / 1.423 GB, free: 13.65 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005664/1.214, allocations: 0.6071 MB / 1.423 GB, free: 13.02 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009556/1.215, allocations: 27.89 kB / 1.423 GB, free: 12.99 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/1.215, allocations: 27.98 kB / 1.423 GB, free: 12.96 MB / 1.092 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.0005947/1.216, allocations: 311.8 kB / 1.423 GB, free: 12.65 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001825/1.216, allocations: 95.42 kB / 1.424 GB, free: 12.56 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001683/1.217, allocations: 0.9261 MB / 1.424 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/1.217, allocations: 8 kB / 1.424 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/1.217, allocations: 0 / 1.424 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0013/1.219, allocations: 0.9309 MB / 1.425 GB, free: 10.64 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003365/1.222, allocations: 2.118 MB / 1.427 GB, free: 8.465 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.222, allocations: 0 / 1.427 GB, free: 8.465 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000956/1.223, allocations: 199.7 kB / 1.428 GB, free: 8.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-05/1.223, allocations: 1.125 kB / 1.428 GB, free: 8.27 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/1.223, allocations: 19.94 kB / 1.428 GB, free: 8.25 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.826e-06/1.223, allocations: 7.984 kB / 1.428 GB, free: 8.242 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.223, allocations: 4 kB / 1.428 GB, free: 8.238 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002096/1.225, allocations: 1.389 MB / 1.429 GB, free: 6.836 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004836/1.226, allocations: 256.4 kB / 1.429 GB, free: 6.566 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/1.226, allocations: 19.94 kB / 1.429 GB, free: 6.547 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006614/1.227, allocations: 23.98 kB / 1.429 GB, free: 6.523 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/1.227, allocations: 52.92 kB / 1.429 GB, free: 6.469 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.139e-05/1.227, allocations: 32.86 kB / 1.429 GB, free: 6.438 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005852/1.227, allocations: 455 kB / 1.43 GB, free: 5.996 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.472e-06/1.227, allocations: 0 / 1.43 GB, free: 5.996 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009011/1.228, allocations: 327.8 kB / 1.43 GB, free: 5.676 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.0003842/1.229, allocations: 205.4 kB / 1.43 GB, free: 5.469 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001456/1.23, allocations: 0.8094 MB / 1.431 GB, free: 4.66 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/1.23, allocations: 12.11 kB / 1.431 GB, free: 4.648 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006309/1.231, allocations: 433.6 kB / 1.432 GB, free: 4.227 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002471/1.233, allocations: 0.5927 MB / 1.432 GB, free: 3.656 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/1.237, allocations: 2.315 MB / 1.434 GB, free: 1.309 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/1.238, allocations: 1.128 MB / 1.436 GB, free: 152 kB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0009681/1.239, allocations: 243.8 kB / 1.436 GB, free: 15.91 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/1.239, allocations: 87.36 kB / 1.436 GB, free: 15.82 MB / 1.107 GB Notification: Performance of SimCode: time 5.81e-07/1.239, allocations: 0 / 1.436 GB, free: 15.82 MB / 1.107 GB Notification: Performance of Templates: time 0.03424/1.273, allocations: 20.66 MB / 1.456 GB, free: 11.44 MB / 1.123 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches