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.00955/0.00955, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001836/0.001836, allocations: 189.4 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.384/1.384, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.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.443/2.443, allocations: 437 MB / 0.7105 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.89 kB / 1.018 GB, free: 9.469 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9437/0.945, allocations: 151.6 MB / 1.167 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.ClosedDoors): time 0.2423/1.187, allocations: 218.5 MB / 1.38 GB, free: 8.516 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.03037/1.218, allocations: 20.42 MB / 1.4 GB, free: 4.035 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003503/1.221, allocations: 59.69 kB / 1.4 GB, free: 3.977 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.004201/1.226, allocations: 1.251 MB / 1.401 GB, free: 2.719 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.01217/1.238, allocations: 4.085 MB / 1.405 GB, free: 14.62 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.005144/1.243, allocations: 1.538 MB / 1.407 GB, free: 13.08 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.01066/1.254, allocations: 6.982 MB / 1.414 GB, free: 6.078 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004279/1.258, allocations: 2.356 MB / 1.416 GB, free: 3.68 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005789/1.264, allocations: 2.356 MB / 1.418 GB, free: 1.316 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00584/1.27, allocations: 2.449 MB / 1.421 GB, free: 14.87 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.001054/1.271, allocations: 344 kB / 1.421 GB, free: 14.53 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009328/1.28, allocations: 3.469 MB / 1.424 GB, free: 11.05 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.002551/1.283, allocations: 1.457 MB / 1.426 GB, free: 9.594 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.003916/1.287, allocations: 1.863 MB / 1.427 GB, free: 7.723 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.01324/1.3, allocations: 5.783 MB / 1.433 GB, free: 1.926 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/1.3, allocations: 0 / 1.433 GB, free: 1.926 MB / 1.154 GB Notification: Performance of FrontEnd: time 5.701e-06/1.3, allocations: 3.984 kB / 1.433 GB, free: 1.922 MB / 1.154 GB Notification: Performance of Transformations before backend: time 0.0001509/1.3, allocations: 0 / 1.433 GB, free: 1.922 MB / 1.154 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.01131/1.311, allocations: 4.039 MB / 1.437 GB, free: 13.82 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.312, allocations: 8.031 kB / 1.437 GB, free: 13.81 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005193/1.317, allocations: 0.8449 MB / 1.438 GB, free: 12.96 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/1.321, allocations: 1.942 MB / 1.44 GB, free: 10.96 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001724/1.322, allocations: 209.4 kB / 1.44 GB, free: 10.75 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005282/1.322, allocations: 272 kB / 1.44 GB, free: 10.49 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005899/1.328, allocations: 3.279 MB / 1.443 GB, free: 7.168 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.768e-05/1.328, allocations: 3.938 kB / 1.443 GB, free: 7.164 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002717/1.328, allocations: 112 kB / 1.444 GB, free: 7.055 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/1.328, allocations: 129.3 kB / 1.444 GB, free: 6.926 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007737/1.336, allocations: 4.623 MB / 1.448 GB, free: 2.289 MB / 1.17 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.01772/1.354, allocations: 10.93 MB / 1.459 GB, free: 6.68 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006276/1.36, allocations: 4.866 MB / 1.464 GB, free: 1.777 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003734/1.364, allocations: 2.531 MB / 1.466 GB, free: 15.24 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/1.365, allocations: 0.8605 MB / 1.467 GB, free: 14.21 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/1.365, allocations: 77.64 kB / 1.467 GB, free: 14.13 MB / 1.201 GB Notification: Performance of pre-optimization done (n=399): time 5.53e-06/1.365, allocations: 4 kB / 1.467 GB, free: 14.12 MB / 1.201 GB Notification: Performance of matching and sorting (n=399): time 0.01015/1.375, allocations: 6.036 MB / 1.473 GB, free: 8.004 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.147e-05/1.376, allocations: 90.55 kB / 1.473 GB, free: 7.902 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001972/1.378, allocations: 1.228 MB / 1.474 GB, free: 6.668 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0003727/1.378, allocations: 93.7 kB / 1.474 GB, free: 6.57 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006332/1.379, allocations: 0.8306 MB / 1.475 GB, free: 5.73 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.001464/1.38, allocations: 1.398 MB / 1.476 GB, free: 4.32 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008856/1.381, allocations: 0.5469 MB / 1.477 GB, free: 3.766 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/1.381, allocations: 301.1 kB / 1.477 GB, free: 3.469 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002646/1.384, allocations: 1.611 MB / 1.479 GB, free: 1.855 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/1.387, allocations: 1.909 MB / 1.481 GB, free: 15.9 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006172/1.393, allocations: 3.838 MB / 1.484 GB, free: 12 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/1.393, allocations: 0 / 1.484 GB, free: 12 MB / 1.217 GB Notification: Performance of matching and sorting (n=430) (initialization): time 0.007472/1.4, allocations: 4.208 MB / 1.489 GB, free: 7.773 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.564e-05/1.4, allocations: 8 kB / 1.489 GB, free: 7.766 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.4, allocations: 3.938 kB / 1.489 GB, free: 7.762 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.096e-05/1.4, allocations: 20 kB / 1.489 GB, free: 7.742 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00305/1.403, allocations: 0.6831 MB / 1.489 GB, free: 7.059 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.707e-05/1.403, allocations: 16 kB / 1.489 GB, free: 7.043 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/1.406, allocations: 250 kB / 1.49 GB, free: 6.797 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003317/1.406, allocations: 108 kB / 1.49 GB, free: 6.691 MB / 1.217 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.001625/1.408, allocations: 0.7313 MB / 1.49 GB, free: 5.949 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009264/1.409, allocations: 254.4 kB / 1.491 GB, free: 5.699 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008504/1.418, allocations: 4.634 MB / 1.495 GB, free: 1.02 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/1.418, allocations: 36 kB / 1.495 GB, free: 0.9844 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.231e-05/1.418, allocations: 4 kB / 1.495 GB, free: 0.9805 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006319/1.424, allocations: 3.958 MB / 1.499 GB, free: 12.96 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/1.438, allocations: 8.282 MB / 1.507 GB, free: 4.594 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/1.438, allocations: 0 / 1.507 GB, free: 4.594 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003178/1.441, allocations: 0.6592 MB / 1.508 GB, free: 3.934 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000557/1.442, allocations: 142.5 kB / 1.508 GB, free: 3.785 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003309/1.442, allocations: 87.91 kB / 1.508 GB, free: 3.699 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004332/1.447, allocations: 5.032 MB / 1.513 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/1.447, allocations: 0 / 1.513 GB, free: 14.25 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.459, allocations: 6.833 MB / 1.52 GB, free: 7.359 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002151/1.461, allocations: 0.7719 MB / 1.52 GB, free: 6.566 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006642/1.462, allocations: 68 kB / 1.52 GB, free: 6.5 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00243/1.464, allocations: 95.42 kB / 1.52 GB, free: 6.41 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005444/1.465, allocations: 226.8 kB / 1.521 GB, free: 6.188 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003559/1.465, allocations: 112 kB / 1.521 GB, free: 6.078 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001806/1.467, allocations: 0.8528 MB / 1.522 GB, free: 5.223 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.573e-06/1.467, allocations: 0 / 1.522 GB, free: 5.223 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003192/1.47, allocations: 1.085 MB / 1.523 GB, free: 4.137 MB / 1.248 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.0008635/1.471, allocations: 354.4 kB / 1.523 GB, free: 3.777 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007196/1.478, allocations: 4.063 MB / 1.527 GB, free: 15.7 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.478, allocations: 0 / 1.527 GB, free: 15.7 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004246/1.482, allocations: 2.56 MB / 1.529 GB, free: 13.11 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005544/1.488, allocations: 1.071 MB / 1.531 GB, free: 12.05 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/1.5, allocations: 6.687 MB / 1.537 GB, free: 5.309 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002379/1.503, allocations: 1.939 MB / 1.539 GB, free: 3.332 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.004768/1.507, allocations: 1.219 MB / 1.54 GB, free: 2.105 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001524/1.509, allocations: 235.4 kB / 1.54 GB, free: 1.875 MB / 1.264 GB Notification: Performance of SimCode: time 1.433e-06/1.509, allocations: 0 / 1.54 GB, free: 1.875 MB / 1.264 GB Notification: Performance of Templates: time 0.8542/2.363, allocations: 48.3 MB / 1.588 GB, free: 363.8 MB / 1.279 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.ClosedDoors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches