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.006776/0.006776, allocations: 103.6 kB / 15.74 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.001439/0.001439, allocations: 201 kB / 16.68 MB, free: 5.965 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.731/2.731, allocations: 437 MB / 0.7105 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2978, allocations: 151.6 MB / 1.167 GB, free: 6.824 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneRoom): time 0.8447/1.143, allocations: 213.7 MB / 1.375 GB, free: 2.082 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01516/1.158, allocations: 10.19 MB / 1.385 GB, free: 9.965 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/1.16, allocations: 37.72 kB / 1.385 GB, free: 9.953 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002827/1.163, allocations: 0.8804 MB / 1.386 GB, free: 9.242 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.01031/1.173, allocations: 2.975 MB / 1.389 GB, free: 6.98 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004849/1.178, allocations: 1.432 MB / 1.39 GB, free: 5.883 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.005612/1.184, allocations: 3.167 MB / 1.393 GB, free: 4.09 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/1.186, allocations: 1.033 MB / 1.394 GB, free: 3.453 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/1.189, allocations: 1.163 MB / 1.396 GB, free: 2.797 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003252/1.193, allocations: 1.081 MB / 1.397 GB, free: 2.168 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0003832/1.193, allocations: 120.2 kB / 1.397 GB, free: 2.168 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005791/1.199, allocations: 2.749 MB / 1.399 GB, free: 0.6289 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0008256/1.2, allocations: 499.8 kB / 1.4 GB, free: 296 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001724/1.201, allocations: 0.7249 MB / 1.401 GB, free: 15.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.005827/1.207, allocations: 2.824 MB / 1.403 GB, free: 14.08 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/1.207, allocations: 2.906 kB / 1.403 GB, free: 14.08 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.693e-06/1.207, allocations: 0 / 1.403 GB, free: 14.08 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.83e-05/1.207, allocations: 0 / 1.403 GB, free: 14.08 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.005052/1.212, allocations: 1.835 MB / 1.405 GB, free: 12.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/1.212, allocations: 11.47 kB / 1.405 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/1.216, allocations: 430 kB / 1.406 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001767/1.217, allocations: 0.9032 MB / 1.407 GB, free: 11.81 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.169e-05/1.218, allocations: 74.81 kB / 1.407 GB, free: 11.78 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001868/1.218, allocations: 92.23 kB / 1.407 GB, free: 11.75 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002182/1.22, allocations: 1.201 MB / 1.408 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/1.22, allocations: 6.047 kB / 1.408 GB, free: 11.01 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/1.22, allocations: 38.09 kB / 1.408 GB, free: 10.98 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/1.22, allocations: 56.45 kB / 1.408 GB, free: 10.97 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/1.222, allocations: 1.064 MB / 1.409 GB, free: 10.44 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.005989/1.228, allocations: 4.771 MB / 1.414 GB, free: 6.215 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001501/1.23, allocations: 0.9791 MB / 1.415 GB, free: 5.59 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.231, allocations: 0.5984 MB / 1.415 GB, free: 5.285 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006414/1.231, allocations: 0.6792 MB / 1.416 GB, free: 4.508 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/1.231, allocations: 37.31 kB / 1.416 GB, free: 4.465 MB / 1.076 GB Notification: Performance of pre-optimization done (n=82): time 3.918e-06/1.231, allocations: 0 / 1.416 GB, free: 4.465 MB / 1.076 GB Notification: Performance of matching and sorting (n=83): time 0.004507/1.236, allocations: 2.326 MB / 1.418 GB, free: 2.176 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/1.236, allocations: 60.41 kB / 1.418 GB, free: 2.105 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008373/1.237, allocations: 0.6489 MB / 1.419 GB, free: 1.445 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.881e-05/1.237, allocations: 37.7 kB / 1.419 GB, free: 1.402 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003196/1.237, allocations: 460.9 kB / 1.419 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/1.237, allocations: 313.3 kB / 1.42 GB, free: 0.6367 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/1.238, allocations: 134.6 kB / 1.42 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.238, allocations: 394.7 kB / 1.42 GB, free: 104 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/1.238, allocations: 321.9 kB / 1.42 GB, free: 15.79 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006074/1.239, allocations: 422.5 kB / 1.421 GB, free: 15.35 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/1.24, allocations: 0.7885 MB / 1.422 GB, free: 14.53 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/1.24, allocations: 4 kB / 1.422 GB, free: 14.53 MB / 1.092 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.00162/1.242, allocations: 0.9507 MB / 1.423 GB, free: 13.57 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/1.242, allocations: 8 kB / 1.423 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.635e-06/1.242, allocations: 0 / 1.423 GB, free: 13.56 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002548/1.242, allocations: 64.77 kB / 1.423 GB, free: 13.49 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007219/1.243, allocations: 156 kB / 1.423 GB, free: 13.34 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004849/1.243, allocations: 0.6071 MB / 1.423 GB, free: 12.71 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008527/1.244, allocations: 31.88 kB / 1.423 GB, free: 12.68 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-05/1.244, allocations: 24 kB / 1.423 GB, free: 12.65 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.0004478/1.245, allocations: 309.5 kB / 1.424 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/1.245, allocations: 91.44 kB / 1.424 GB, free: 12.25 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/1.247, allocations: 0.9223 MB / 1.425 GB, free: 11.32 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/1.247, allocations: 11.98 kB / 1.425 GB, free: 11.31 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.247, allocations: 4 kB / 1.425 GB, free: 11.3 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001313/1.248, allocations: 0.927 MB / 1.426 GB, free: 10.33 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003358/1.251, allocations: 2.121 MB / 1.428 GB, free: 8.156 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/1.251, allocations: 0 / 1.428 GB, free: 8.156 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000999/1.252, allocations: 183.8 kB / 1.428 GB, free: 7.977 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/1.252, allocations: 4 kB / 1.428 GB, free: 7.973 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.486e-05/1.253, allocations: 27.92 kB / 1.428 GB, free: 7.945 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/1.253, allocations: 0 / 1.428 GB, free: 7.945 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/1.253, allocations: 4 kB / 1.428 GB, free: 7.941 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002098/1.255, allocations: 1.393 MB / 1.429 GB, free: 6.535 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004505/1.255, allocations: 252.4 kB / 1.429 GB, free: 6.27 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/1.255, allocations: 23.92 kB / 1.43 GB, free: 6.246 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007362/1.256, allocations: 22.25 kB / 1.43 GB, free: 6.227 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.256, allocations: 52.92 kB / 1.43 GB, free: 6.172 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.076e-05/1.256, allocations: 27.98 kB / 1.43 GB, free: 6.145 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0005876/1.257, allocations: 455 kB / 1.43 GB, free: 5.703 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.204e-06/1.257, allocations: 4 kB / 1.43 GB, free: 5.699 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009631/1.258, allocations: 327.8 kB / 1.43 GB, free: 5.379 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.0003722/1.258, allocations: 211.9 kB / 1.431 GB, free: 5.168 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001443/1.26, allocations: 0.809 MB / 1.431 GB, free: 4.359 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.26, allocations: 0.5 kB / 1.431 GB, free: 4.359 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0006547/1.26, allocations: 437.6 kB / 1.432 GB, free: 3.934 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/1.263, allocations: 0.5971 MB / 1.432 GB, free: 3.355 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/1.267, allocations: 2.319 MB / 1.435 GB, free: 1.008 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008489/1.268, allocations: 1.128 MB / 1.436 GB, free: 15.85 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0008973/1.269, allocations: 259.7 kB / 1.436 GB, free: 15.59 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002788/1.269, allocations: 75.44 kB / 1.436 GB, free: 15.52 MB / 1.107 GB Notification: Performance of SimCode: time 5.61e-07/1.269, allocations: 0 / 1.436 GB, free: 15.52 MB / 1.107 GB Notification: Performance of Templates: time 0.03484/1.304, allocations: 20.66 MB / 1.456 GB, free: 11.14 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