Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_10_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_10_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.002058/0.002059, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001795/0.001795, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.583/1.583, allocations: 222.9 MB / 240.6 MB, free: 4.496 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.918/2.918, allocations: 437.1 MB / 0.7107 GB, free: 5.195 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 71.89 kB / 0.8694 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8872/0.8892, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2793/1.169, allocations: 215.7 MB / 1.228 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03158/1.2, allocations: 20.33 MB / 1.248 GB, free: 5.793 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00366/1.204, allocations: 51.69 kB / 1.248 GB, free: 5.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004023/1.208, allocations: 1.128 MB / 1.249 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01253/1.221, allocations: 3.829 MB / 1.253 GB, free: 0.7656 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.8267/2.047, allocations: 1.401 MB / 1.254 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01161/2.059, allocations: 6.953 MB / 1.261 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004962/2.064, allocations: 2.312 MB / 1.263 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009332/2.073, allocations: 2.396 MB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008952/2.082, allocations: 2.62 MB / 1.268 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002069/2.084, allocations: 344.1 kB / 1.269 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01373/2.098, allocations: 3.625 MB / 1.272 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003931/2.102, allocations: 1.45 MB / 1.273 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006932/2.109, allocations: 1.866 MB / 1.275 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008785/2.118, allocations: 4.321 MB / 1.28 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/2.118, allocations: 0 / 1.28 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.537e-06/2.118, allocations: 0 / 1.28 GB, free: 5.367 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001911/2.118, allocations: 2.625 kB / 1.28 GB, free: 5.367 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: 697 * Number of variables: 697 Notification: Performance of Generate backend data structure: time 0.01308/2.131, allocations: 3.949 MB / 1.283 GB, free: 19.88 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/2.131, allocations: 9.219 kB / 1.283 GB, free: 19.88 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005122/2.136, allocations: 0.8226 MB / 1.284 GB, free: 19.72 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004396/2.141, allocations: 1.877 MB / 1.286 GB, free: 19.23 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001751/2.141, allocations: 206.5 kB / 1.286 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005703/2.142, allocations: 272.3 kB / 1.286 GB, free: 19.22 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006665/2.148, allocations: 3.283 MB / 1.29 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.518e-05/2.148, allocations: 0.6562 kB / 1.29 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000303/2.149, allocations: 112.9 kB / 1.29 GB, free: 19.09 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/2.149, allocations: 129.5 kB / 1.29 GB, free: 19.08 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007774/2.157, allocations: 4.615 MB / 1.294 GB, free: 19.05 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.02134/2.178, allocations: 10.88 MB / 1.305 GB, free: 15.22 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005901/2.184, allocations: 4.859 MB / 1.31 GB, free: 14.94 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/2.187, allocations: 2.524 MB / 1.312 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001241/2.189, allocations: 0.8668 MB / 1.313 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/2.189, allocations: 76.28 kB / 1.313 GB, free: 14.01 MB / 1.014 GB Notification: Performance of pre-optimization done (n=399): time 5.42e-06/2.189, allocations: 1.062 kB / 1.313 GB, free: 14.01 MB / 1.014 GB Notification: Performance of matching and sorting (n=399): time 0.00953/2.198, allocations: 6.019 MB / 1.319 GB, free: 13.45 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.308e-05/2.198, allocations: 96.61 kB / 1.319 GB, free: 13.38 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001932/2.2, allocations: 1.236 MB / 1.32 GB, free: 13.23 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0003802/2.201, allocations: 93.17 kB / 1.32 GB, free: 13.2 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/2.201, allocations: 0.8095 MB / 1.321 GB, free: 12.87 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/2.203, allocations: 1.329 MB / 1.323 GB, free: 12 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/2.204, allocations: 0.5449 MB / 1.323 GB, free: 11.97 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001595/2.204, allocations: 310.8 kB / 1.323 GB, free: 11.67 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002431/2.206, allocations: 1.603 MB / 1.325 GB, free: 11.66 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002687/2.209, allocations: 1.907 MB / 1.327 GB, free: 11.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005828/2.215, allocations: 3.833 MB / 1.331 GB, free: 11.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/2.215, allocations: 0 / 1.331 GB, free: 11.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007194/2.222, allocations: 4.191 MB / 1.335 GB, free: 11.08 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.556e-05/2.222, allocations: 11.42 kB / 1.335 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.057e-05/2.222, allocations: 2.781 kB / 1.335 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.207e-05/2.222, allocations: 18.38 kB / 1.335 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002819/2.225, allocations: 0.683 MB / 1.335 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.379e-05/2.225, allocations: 20.81 kB / 1.335 GB, free: 11.08 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003572/2.229, allocations: 402.1 kB / 1.336 GB, free: 10.95 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003835/2.229, allocations: 114.5 kB / 1.336 GB, free: 10.95 MB / 1.014 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.002021/2.231, allocations: 0.7312 MB / 1.337 GB, free: 10.71 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001116/2.232, allocations: 237.9 kB / 1.337 GB, free: 10.59 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008825/2.241, allocations: 4.639 MB / 1.341 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.291e-05/2.241, allocations: 39.38 kB / 1.341 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.491e-05/2.241, allocations: 0.8125 kB / 1.341 GB, free: 8.711 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006829/2.248, allocations: 3.96 MB / 1.345 GB, free: 7.152 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01713/2.265, allocations: 8.279 MB / 1.353 GB, free: 2.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.579e-05/2.265, allocations: 5.922 kB / 1.353 GB, free: 2.246 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003186/2.268, allocations: 0.6635 MB / 1.354 GB, free: 1.703 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/2.269, allocations: 134.6 kB / 1.354 GB, free: 1.586 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004058/2.27, allocations: 83.88 kB / 1.354 GB, free: 1.512 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005165/2.275, allocations: 5.048 MB / 1.359 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.275, allocations: 0.6875 kB / 1.359 GB, free: 12.25 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/2.289, allocations: 6.822 MB / 1.366 GB, free: 5.453 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002725/2.292, allocations: 0.7636 MB / 1.367 GB, free: 4.668 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009082/2.293, allocations: 71.98 kB / 1.367 GB, free: 4.598 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003358/2.296, allocations: 217.4 kB / 1.367 GB, free: 4.402 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006641/2.297, allocations: 223.7 kB / 1.367 GB, free: 4.184 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004246/2.297, allocations: 112 kB / 1.367 GB, free: 4.074 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001945/2.299, allocations: 0.8576 MB / 1.368 GB, free: 3.215 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/2.299, allocations: 0 / 1.368 GB, free: 3.215 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.004896/2.304, allocations: 1.089 MB / 1.369 GB, free: 2.125 MB / 1.029 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.001071/2.305, allocations: 343.4 kB / 1.369 GB, free: 1.852 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.02685/2.332, allocations: 11.49 MB / 1.381 GB, free: 6.434 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/2.332, allocations: 0.8125 kB / 1.381 GB, free: 6.434 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.005597/2.338, allocations: 2.554 MB / 1.383 GB, free: 3.914 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007564/2.345, allocations: 1.064 MB / 1.384 GB, free: 2.883 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/2.362, allocations: 8.001 MB / 1.392 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/2.365, allocations: 1.943 MB / 1.394 GB, free: 8.875 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002318/2.367, allocations: 279.4 kB / 1.394 GB, free: 8.602 MB / 1.061 GB Notification: Performance of SimCode: time 8.01e-07/2.367, allocations: 0 / 1.394 GB, free: 8.602 MB / 1.061 GB Notification: Performance of Templates: time 0.1034/2.47, allocations: 58.03 MB / 1.451 GB, free: 14.81 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches