Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.ClosedDoors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dooAB.vAB|dooAB.vBA|dooAC.vAB|dooAC.vBA|dooBC.vAB|dooBC.vBA",fileNamePrefix="Buildings_9_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_9_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.009286/0.009286, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001541/0.001541, allocations: 191.1 kB / 16.67 MB, free: 5.977 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 63 kB / 0.9508 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2967, allocations: 140.4 MB / 1.088 GB, free: 1.578 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.8644/1.161, allocations: 218.5 MB / 1.301 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02515/1.186, allocations: 20.43 MB / 1.321 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004147/1.191, allocations: 59.03 kB / 1.321 GB, free: 2.922 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.003698/1.194, allocations: 1.245 MB / 1.323 GB, free: 2.895 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0125/1.207, allocations: 4.084 MB / 1.327 GB, free: 2.719 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005414/1.212, allocations: 1.543 MB / 1.328 GB, free: 2.684 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01035/1.223, allocations: 6.968 MB / 1.335 GB, free: 2.652 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00417/1.227, allocations: 2.357 MB / 1.337 GB, free: 2.418 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006159/1.233, allocations: 2.363 MB / 1.339 GB, free: 2.223 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005829/1.239, allocations: 2.461 MB / 1.342 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0009611/1.24, allocations: 345.7 kB / 1.342 GB, free: 1.805 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008413/1.248, allocations: 3.46 MB / 1.346 GB, free: 1.188 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001966/1.25, allocations: 1.457 MB / 1.347 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.00429/1.255, allocations: 1.895 MB / 1.349 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009173/1.264, allocations: 5.762 MB / 1.354 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/1.264, allocations: 0 / 1.354 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.144e-06/1.264, allocations: 0 / 1.354 GB, free: 14 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001054/1.264, allocations: 4 kB / 1.354 GB, free: 14 MB / 1.029 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.0103/1.274, allocations: 3.944 MB / 1.358 GB, free: 11.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.274, allocations: 8.688 kB / 1.358 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005008/1.279, allocations: 0.8278 MB / 1.359 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004491/1.284, allocations: 1.931 MB / 1.361 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/1.284, allocations: 198.7 kB / 1.361 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000423/1.285, allocations: 275.8 kB / 1.361 GB, free: 10.64 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005719/1.29, allocations: 3.28 MB / 1.365 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.289e-05/1.29, allocations: 1.359 kB / 1.365 GB, free: 9.477 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/1.291, allocations: 119 kB / 1.365 GB, free: 9.387 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/1.291, allocations: 124.2 kB / 1.365 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007265/1.298, allocations: 4.622 MB / 1.369 GB, free: 7.594 MB / 1.029 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.01628/1.314, allocations: 10.93 MB / 1.38 GB, free: 15.36 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005882/1.32, allocations: 4.857 MB / 1.385 GB, free: 12.52 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0034/1.324, allocations: 2.529 MB / 1.387 GB, free: 11.27 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/1.325, allocations: 0.8635 MB / 1.388 GB, free: 10.36 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/1.325, allocations: 72.64 kB / 1.388 GB, free: 10.3 MB / 1.045 GB Notification: Performance of pre-optimization done (n=399): time 6.442e-06/1.325, allocations: 3.984 kB / 1.388 GB, free: 10.29 MB / 1.045 GB Notification: Performance of matching and sorting (n=399): time 0.009892/1.335, allocations: 6.025 MB / 1.394 GB, free: 6.379 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/1.335, allocations: 98.53 kB / 1.394 GB, free: 6.27 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/1.337, allocations: 1.231 MB / 1.395 GB, free: 5.035 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0002931/1.337, allocations: 97.64 kB / 1.395 GB, free: 4.934 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005608/1.338, allocations: 0.8076 MB / 1.396 GB, free: 4.117 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.001196/1.339, allocations: 1.336 MB / 1.398 GB, free: 2.793 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009626/1.34, allocations: 0.5507 MB / 1.398 GB, free: 2.234 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 8.663e-05/1.34, allocations: 305.1 kB / 1.398 GB, free: 1.934 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002384/1.342, allocations: 1.603 MB / 1.4 GB, free: 336 kB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002721/1.345, allocations: 1.912 MB / 1.402 GB, free: 14.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005429/1.351, allocations: 3.825 MB / 1.406 GB, free: 10.5 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/1.351, allocations: 4 kB / 1.406 GB, free: 10.5 MB / 1.061 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.006592/1.357, allocations: 4.193 MB / 1.41 GB, free: 6.297 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/1.357, allocations: 6.938 kB / 1.41 GB, free: 6.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.357, allocations: 8 kB / 1.41 GB, free: 6.285 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.352e-05/1.357, allocations: 16 kB / 1.41 GB, free: 6.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002918/1.36, allocations: 0.6802 MB / 1.41 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.452e-05/1.36, allocations: 26.52 kB / 1.41 GB, free: 5.605 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002607/1.363, allocations: 233.3 kB / 1.411 GB, free: 5.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/1.363, allocations: 116 kB / 1.411 GB, free: 5.262 MB / 1.061 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.001308/1.364, allocations: 0.7326 MB / 1.411 GB, free: 4.559 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005045/1.365, allocations: 237.2 kB / 1.412 GB, free: 4.324 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007366/1.372, allocations: 4.633 MB / 1.416 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/1.372, allocations: 44 kB / 1.416 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.218e-05/1.372, allocations: 0 / 1.416 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005663/1.378, allocations: 3.951 MB / 1.42 GB, free: 11.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01333/1.391, allocations: 8.279 MB / 1.428 GB, free: 3.34 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.391, allocations: 3.984 kB / 1.428 GB, free: 3.336 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003006/1.394, allocations: 0.6659 MB / 1.429 GB, free: 2.707 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/1.395, allocations: 130.5 kB / 1.429 GB, free: 2.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003112/1.395, allocations: 79.98 kB / 1.429 GB, free: 2.492 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003631/1.399, allocations: 5.052 MB / 1.434 GB, free: 13.05 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.399, allocations: 3.938 kB / 1.434 GB, free: 13.05 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/1.41, allocations: 6.812 MB / 1.441 GB, free: 6.184 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00195/1.412, allocations: 0.7627 MB / 1.441 GB, free: 5.398 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005843/1.412, allocations: 71.98 kB / 1.441 GB, free: 5.328 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002286/1.415, allocations: 86.61 kB / 1.442 GB, free: 5.246 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004804/1.415, allocations: 214.8 kB / 1.442 GB, free: 5.035 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002898/1.416, allocations: 123.8 kB / 1.442 GB, free: 4.914 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001438/1.417, allocations: 0.8645 MB / 1.443 GB, free: 4.047 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.4e-07/1.417, allocations: 3.938 kB / 1.443 GB, free: 4.043 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00296/1.42, allocations: 1.069 MB / 1.444 GB, free: 2.973 MB / 1.092 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.000831/1.421, allocations: 338.9 kB / 1.444 GB, free: 2.676 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.006615/1.427, allocations: 4.056 MB / 1.448 GB, free: 14.66 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/1.427, allocations: 4 kB / 1.448 GB, free: 14.65 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.003793/1.431, allocations: 2.554 MB / 1.451 GB, free: 12.13 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00534/1.437, allocations: 1.071 MB / 1.452 GB, free: 11.08 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.447, allocations: 6.598 MB / 1.458 GB, free: 4.461 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002021/1.449, allocations: 1.935 MB / 1.46 GB, free: 2.484 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.004256/1.454, allocations: 1.231 MB / 1.461 GB, free: 1.246 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.455, allocations: 235.4 kB / 1.461 GB, free: 1.016 MB / 1.107 GB Notification: Performance of SimCode: time 8.22e-07/1.455, allocations: 0 / 1.461 GB, free: 1.016 MB / 1.107 GB Notification: Performance of Templates: time 0.07923/1.534, allocations: 48.32 MB / 1.509 GB, free: 1.293 MB / 1.154 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_ClosedDoors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches