Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.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.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cra.v|cra.m_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") translateModel(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cra.v|cra.m_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002004/0.002004, allocations: 113.3 kB / 16.41 MB, free: 6.473 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.002318/0.002318, allocations: 189.2 kB / 17.34 MB, free: 5.711 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.553/1.553, allocations: 222.9 MB / 241 MB, free: 15.13 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.697/2.697, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.13/1.132, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.2665/1.398, allocations: 188.4 MB / 1.351 GB, free: 6.664 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01172/1.41, allocations: 6.091 MB / 1.357 GB, free: 0.5586 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/1.412, allocations: 39.75 kB / 1.357 GB, free: 0.5195 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/1.414, allocations: 0.5282 MB / 1.358 GB, free: 15.98 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.006002/1.42, allocations: 1.965 MB / 1.36 GB, free: 14.02 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/1.422, allocations: 0.9566 MB / 1.361 GB, free: 13.06 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004189/1.427, allocations: 2.496 MB / 1.363 GB, free: 10.56 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/1.428, allocations: 0.7604 MB / 1.364 GB, free: 9.785 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001846/1.43, allocations: 0.8952 MB / 1.365 GB, free: 8.887 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001815/1.432, allocations: 0.7912 MB / 1.365 GB, free: 8.098 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001573/1.432, allocations: 88 kB / 1.366 GB, free: 8.012 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/1.436, allocations: 1.598 MB / 1.367 GB, free: 6.41 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004389/1.436, allocations: 367 kB / 1.367 GB, free: 6.051 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0007573/1.437, allocations: 0.5521 MB / 1.368 GB, free: 5.496 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003441/1.44, allocations: 1.923 MB / 1.37 GB, free: 3.57 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/1.44, allocations: 3.938 kB / 1.37 GB, free: 3.566 MB / 1.092 GB Notification: Performance of FrontEnd: time 4.137e-06/1.44, allocations: 0 / 1.37 GB, free: 3.566 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.882e-05/1.44, allocations: 3.938 kB / 1.37 GB, free: 3.562 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.00249/1.443, allocations: 1.418 MB / 1.371 GB, free: 2.094 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/1.443, allocations: 12.62 kB / 1.371 GB, free: 2.082 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002061/1.445, allocations: 327 kB / 1.372 GB, free: 1.762 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001364/1.446, allocations: 0.7852 MB / 1.372 GB, free: 0.9336 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.244e-05/1.446, allocations: 53.31 kB / 1.372 GB, free: 0.8828 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/1.446, allocations: 68 kB / 1.372 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/1.448, allocations: 0.7862 MB / 1.373 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.42e-05/1.448, allocations: 0 / 1.373 GB, free: 8 kB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/1.448, allocations: 28.08 kB / 1.373 GB, free: 15.98 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.154e-05/1.448, allocations: 33.25 kB / 1.373 GB, free: 15.95 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001238/1.449, allocations: 0.6413 MB / 1.374 GB, free: 15.3 MB / 1.107 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.004543/1.454, allocations: 3.371 MB / 1.377 GB, free: 11.64 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009566/1.455, allocations: 0.498 MB / 1.378 GB, free: 11.13 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004958/1.455, allocations: 286 kB / 1.378 GB, free: 10.85 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007572/1.456, allocations: 0.6731 MB / 1.379 GB, free: 10.03 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/1.456, allocations: 39 kB / 1.379 GB, free: 9.984 MB / 1.107 GB Notification: Performance of pre-optimization done (n=51): time 1.713e-06/1.456, allocations: 0 / 1.379 GB, free: 9.984 MB / 1.107 GB Notification: Performance of matching and sorting (n=51): time 0.001813/1.458, allocations: 0.7758 MB / 1.379 GB, free: 9.203 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/1.458, allocations: 67.72 kB / 1.38 GB, free: 9.125 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007927/1.459, allocations: 0.5941 MB / 1.38 GB, free: 8.523 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 4.901e-05/1.459, allocations: 33.7 kB / 1.38 GB, free: 8.484 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/1.459, allocations: 392.8 kB / 1.381 GB, free: 8.094 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/1.459, allocations: 190.3 kB / 1.381 GB, free: 7.906 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/1.46, allocations: 94.2 kB / 1.381 GB, free: 7.809 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002376/1.46, allocations: 382.8 kB / 1.381 GB, free: 7.426 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004183/1.46, allocations: 213 kB / 1.381 GB, free: 7.219 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004862/1.461, allocations: 275.2 kB / 1.382 GB, free: 6.934 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009204/1.462, allocations: 0.5075 MB / 1.382 GB, free: 6.41 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/1.462, allocations: 0 / 1.382 GB, free: 6.41 MB / 1.107 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001173/1.463, allocations: 0.6273 MB / 1.383 GB, free: 5.777 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/1.463, allocations: 7.984 kB / 1.383 GB, free: 5.77 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/1.463, allocations: 4 kB / 1.383 GB, free: 5.766 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/1.463, allocations: 3.938 kB / 1.383 GB, free: 5.762 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/1.464, allocations: 135.7 kB / 1.383 GB, free: 5.629 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/1.464, allocations: 4.156 kB / 1.383 GB, free: 5.625 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/1.464, allocations: 47.72 kB / 1.383 GB, free: 5.578 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/1.464, allocations: 16 kB / 1.383 GB, free: 5.562 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (62): * Single equations (assignments): 62 * 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.0004054/1.465, allocations: 257.6 kB / 1.383 GB, free: 5.301 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001443/1.465, allocations: 83.53 kB / 1.383 GB, free: 5.219 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001207/1.466, allocations: 0.597 MB / 1.384 GB, free: 4.609 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/1.466, allocations: 15.94 kB / 1.384 GB, free: 4.594 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/1.466, allocations: 3.984 kB / 1.384 GB, free: 4.59 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001127/1.467, allocations: 0.8029 MB / 1.385 GB, free: 3.703 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/1.47, allocations: 1.55 MB / 1.386 GB, free: 2.086 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.47, allocations: 0 / 1.386 GB, free: 2.086 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007736/1.471, allocations: 151.8 kB / 1.386 GB, free: 1.938 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/1.471, allocations: 4 kB / 1.386 GB, free: 1.934 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/1.471, allocations: 16 kB / 1.386 GB, free: 1.918 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/1.471, allocations: 4.094 kB / 1.386 GB, free: 1.914 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/1.471, allocations: 4 kB / 1.386 GB, free: 1.91 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/1.472, allocations: 0.9591 MB / 1.387 GB, free: 0.9219 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/1.473, allocations: 216.4 kB / 1.387 GB, free: 0.6914 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/1.473, allocations: 12 kB / 1.387 GB, free: 0.6797 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005471/1.473, allocations: 27.97 kB / 1.387 GB, free: 0.6523 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.474, allocations: 32.39 kB / 1.388 GB, free: 0.6211 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/1.474, allocations: 16 kB / 1.388 GB, free: 0.6055 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0005706/1.474, allocations: 427 kB / 1.388 GB, free: 196 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.474, allocations: 0 / 1.388 GB, free: 196 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0008351/1.475, allocations: 287.5 kB / 1.388 GB, free: 15.91 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 7 (volA.dynBal.medium.Xi[1],volA.dynBal.U,volA.dynBal.m,volB.dynBal.medium.Xi[1],volB.dynBal.U,volB.dynBal.m,cra.mExc) * 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 (51): * Single equations (assignments): 51 * 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.0005288/1.476, allocations: 208 kB / 1.388 GB, free: 15.71 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.001074/1.477, allocations: 0.5015 MB / 1.389 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.477, allocations: 3.938 kB / 1.389 GB, free: 15.2 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0004916/1.477, allocations: 278.8 kB / 1.389 GB, free: 14.93 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002124/1.479, allocations: 0.4885 MB / 1.39 GB, free: 14.46 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/1.483, allocations: 1.841 MB / 1.391 GB, free: 12.57 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007812/1.483, allocations: 1.024 MB / 1.392 GB, free: 11.52 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000642/1.484, allocations: 182.1 kB / 1.393 GB, free: 11.34 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/1.484, allocations: 67.42 kB / 1.393 GB, free: 11.27 MB / 1.123 GB Notification: Performance of SimCode: time 6.21e-07/1.484, allocations: 0 / 1.393 GB, free: 11.27 MB / 1.123 GB Notification: Performance of Templates: time 0.03181/1.516, allocations: 15.92 MB / 1.408 GB, free: 11.58 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches