Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors") translateModel(Buildings.Airflow.Multizone.Examples.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006734/0.006734, allocations: 99 kB / 15.73 MB, free: 6.016 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.00141/0.00141, allocations: 193 kB / 16.67 MB, free: 5.934 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.297/1.297, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.522/2.522, allocations: 469.8 MB / 0.7425 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002275/0.002275, allocations: 63.89 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7939/0.7961, allocations: 159.1 MB / 1.221 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2162/1.012, allocations: 219.1 MB / 1.435 GB, free: 6.211 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02615/1.038, allocations: 20.45 MB / 1.455 GB, free: 1.699 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003191/1.042, allocations: 59.69 kB / 1.455 GB, free: 1.641 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.003593/1.045, allocations: 1.325 MB / 1.456 GB, free: 316 kB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/1.056, allocations: 4.191 MB / 1.46 GB, free: 12.1 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.004411/1.061, allocations: 1.562 MB / 1.461 GB, free: 10.54 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00872/1.069, allocations: 6.96 MB / 1.468 GB, free: 3.555 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/1.073, allocations: 2.024 MB / 1.47 GB, free: 1.488 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004247/1.077, allocations: 2.426 MB / 1.473 GB, free: 15.05 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004564/1.081, allocations: 2.452 MB / 1.475 GB, free: 12.6 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001045/1.083, allocations: 348 kB / 1.475 GB, free: 12.26 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007213/1.09, allocations: 3.481 MB / 1.479 GB, free: 8.773 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.00226/1.092, allocations: 1.484 MB / 1.48 GB, free: 7.285 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.003867/1.096, allocations: 1.863 MB / 1.482 GB, free: 5.414 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01033/1.106, allocations: 5.783 MB / 1.488 GB, free: 15.62 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.106, allocations: 0 / 1.488 GB, free: 15.62 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.703e-06/1.106, allocations: 0 / 1.488 GB, free: 15.62 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0001611/1.106, allocations: 0 / 1.488 GB, free: 15.62 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01133/1.118, allocations: 4.049 MB / 1.492 GB, free: 11.5 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/1.118, allocations: 8.625 kB / 1.492 GB, free: 11.49 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00554/1.123, allocations: 0.841 MB / 1.492 GB, free: 10.65 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/1.128, allocations: 1.939 MB / 1.494 GB, free: 8.652 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/1.128, allocations: 209.3 kB / 1.495 GB, free: 8.445 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007771/1.129, allocations: 275.9 kB / 1.495 GB, free: 8.176 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006823/1.136, allocations: 3.283 MB / 1.498 GB, free: 4.852 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.095e-05/1.136, allocations: 0 / 1.498 GB, free: 4.852 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003748/1.136, allocations: 112 kB / 1.498 GB, free: 4.742 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001344/1.136, allocations: 129.4 kB / 1.498 GB, free: 4.613 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007928/1.144, allocations: 4.623 MB / 1.503 GB, free: 15.98 MB / 1.232 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.01646/1.161, allocations: 10.93 MB / 1.513 GB, free: 4.367 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005933/1.167, allocations: 4.522 MB / 1.518 GB, free: 15.8 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003399/1.17, allocations: 2.285 MB / 1.52 GB, free: 13.52 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001065/1.171, allocations: 0.8602 MB / 1.521 GB, free: 12.49 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.103e-05/1.171, allocations: 85.69 kB / 1.521 GB, free: 12.4 MB / 1.248 GB Notification: Performance of pre-optimization done (n=399): time 5.26e-06/1.171, allocations: 7.938 kB / 1.521 GB, free: 12.39 MB / 1.248 GB Notification: Performance of matching and sorting (n=399): time 0.009821/1.181, allocations: 6.032 MB / 1.527 GB, free: 6.273 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/1.181, allocations: 98.48 kB / 1.527 GB, free: 6.164 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001869/1.183, allocations: 1.224 MB / 1.528 GB, free: 4.934 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002426/1.183, allocations: 93.7 kB / 1.528 GB, free: 4.836 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005478/1.184, allocations: 0.8268 MB / 1.529 GB, free: 4 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001085/1.185, allocations: 1.398 MB / 1.53 GB, free: 2.59 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008391/1.186, allocations: 0.5469 MB / 1.531 GB, free: 2.035 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 8.251e-05/1.186, allocations: 305.1 kB / 1.531 GB, free: 1.734 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/1.188, allocations: 1.603 MB / 1.533 GB, free: 132 kB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/1.191, allocations: 1.913 MB / 1.535 GB, free: 14.17 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005504/1.197, allocations: 3.834 MB / 1.538 GB, free: 10.27 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/1.197, allocations: 0 / 1.538 GB, free: 10.27 MB / 1.264 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006568/1.203, allocations: 4.208 MB / 1.543 GB, free: 6.043 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/1.203, allocations: 8 kB / 1.543 GB, free: 6.035 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/1.203, allocations: 3.984 kB / 1.543 GB, free: 6.031 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.69e-05/1.203, allocations: 20 kB / 1.543 GB, free: 6.012 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/1.206, allocations: 0.6831 MB / 1.543 GB, free: 5.328 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.38e-05/1.206, allocations: 23.92 kB / 1.543 GB, free: 5.305 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/1.209, allocations: 242.1 kB / 1.544 GB, free: 5.066 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/1.209, allocations: 112 kB / 1.544 GB, free: 4.957 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (430): * Single equations (assignments): 430 * 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 prepare postOptimizeDAE: time 0.001284/1.21, allocations: 0.7279 MB / 1.544 GB, free: 4.219 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/1.211, allocations: 254.4 kB / 1.545 GB, free: 3.969 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007233/1.218, allocations: 4.634 MB / 1.549 GB, free: 15.29 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.204e-05/1.218, allocations: 40 kB / 1.549 GB, free: 15.25 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/1.218, allocations: 0 / 1.549 GB, free: 15.25 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005733/1.224, allocations: 3.957 MB / 1.553 GB, free: 11.23 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01273/1.236, allocations: 8.286 MB / 1.561 GB, free: 2.863 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/1.236, allocations: 0 / 1.561 GB, free: 2.863 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002993/1.239, allocations: 0.6553 MB / 1.562 GB, free: 2.207 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005213/1.24, allocations: 142.4 kB / 1.562 GB, free: 2.059 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003447/1.24, allocations: 83.97 kB / 1.562 GB, free: 1.977 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6411/1.881, allocations: 5.032 MB / 1.567 GB, free: 334.9 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/1.881, allocations: 1.297 kB / 1.567 GB, free: 334.9 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01328/1.895, allocations: 6.83 MB / 1.574 GB, free: 332.5 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.897, allocations: 0.7744 MB / 1.574 GB, free: 332.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/1.897, allocations: 69.02 kB / 1.574 GB, free: 332.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001802/1.899, allocations: 91.58 kB / 1.574 GB, free: 332.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004881/1.899, allocations: 233.6 kB / 1.575 GB, free: 332.1 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002198/1.899, allocations: 107.9 kB / 1.575 GB, free: 332.1 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001185/1.901, allocations: 0.8604 MB / 1.576 GB, free: 331.7 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/1.901, allocations: 0 / 1.576 GB, free: 331.7 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.002501/1.903, allocations: 1.079 MB / 1.577 GB, free: 331.6 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 15 (dooAB.mExcAB,dooAB.mExcBA,volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,volC.dynBal.medium.Xi[1],volC.dynBal.U,volC.dynBal.m,dooAC.mExcAB,dooAC.mExcBA,dooBC.mExcAB,dooBC.mExcBA) * 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 (393): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006634/1.904, allocations: 355.9 kB / 1.577 GB, free: 331.4 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.006183/1.91, allocations: 3.826 MB / 1.581 GB, free: 330.1 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 6.191e-06/1.91, allocations: 0 / 1.581 GB, free: 330.1 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.00294/1.913, allocations: 2.362 MB / 1.583 GB, free: 329.1 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004419/1.917, allocations: 1.07 MB / 1.584 GB, free: 328.8 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008473/1.926, allocations: 6.684 MB / 1.591 GB, free: 325.9 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/1.927, allocations: 1.937 MB / 1.593 GB, free: 325 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.003143/1.93, allocations: 1.222 MB / 1.594 GB, free: 324.4 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007605/1.931, allocations: 238.3 kB / 1.594 GB, free: 324.2 MB / 1.279 GB Notification: Performance of SimCode: time 6.92e-07/1.931, allocations: 0 / 1.594 GB, free: 324.2 MB / 1.279 GB Notification: Performance of Templates: time 0.06098/1.992, allocations: 48.73 MB / 1.642 GB, free: 277.2 MB / 1.279 GB make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches