Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001789/0.001789, allocations: 116.4 kB / 16.37 MB, free: 6.43 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.00199/0.00199, allocations: 196.3 kB / 17.31 MB, free: 5.777 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.469/2.469, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 67.94 kB / 0.8773 GB, free: 11 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 153 MB / 1.027 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.7415/1.078, allocations: 188.4 MB / 1.211 GB, free: 12.58 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.009184/1.088, allocations: 6.065 MB / 1.217 GB, free: 7.645 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/1.089, allocations: 40.91 kB / 1.217 GB, free: 7.629 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001391/1.091, allocations: 0.5107 MB / 1.217 GB, free: 7.203 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.004566/1.095, allocations: 1.897 MB / 1.219 GB, free: 5.73 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002305/1.097, allocations: 0.9553 MB / 1.22 GB, free: 4.992 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003056/1.1, allocations: 2.493 MB / 1.222 GB, free: 3.555 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001003/1.101, allocations: 0.7618 MB / 1.223 GB, free: 3.078 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001412/1.103, allocations: 0.8707 MB / 1.224 GB, free: 2.57 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/1.104, allocations: 0.7761 MB / 1.225 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001258/1.105, allocations: 88.34 kB / 1.225 GB, free: 2.113 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003289/1.108, allocations: 1.587 MB / 1.226 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003715/1.108, allocations: 370.9 kB / 1.227 GB, free: 0.6016 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0005832/1.109, allocations: 0.5483 MB / 1.227 GB, free: 52 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002898/1.112, allocations: 1.92 MB / 1.229 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.112, allocations: 4 kB / 1.229 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.673e-06/1.112, allocations: 0 / 1.229 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.811e-05/1.112, allocations: 0 / 1.229 GB, free: 14.12 MB / 0.9356 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.002289/1.114, allocations: 1.386 MB / 1.231 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/1.114, allocations: 8.031 kB / 1.231 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002114/1.116, allocations: 306.5 kB / 1.231 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001395/1.118, allocations: 0.7845 MB / 1.232 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.66e-05/1.118, allocations: 58.36 kB / 1.232 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/1.118, allocations: 71.91 kB / 1.232 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/1.119, allocations: 0.7784 MB / 1.232 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/1.119, allocations: 4 kB / 1.232 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/1.119, allocations: 31.94 kB / 1.232 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-05/1.119, allocations: 33.3 kB / 1.233 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/1.12, allocations: 0.6374 MB / 1.233 GB, free: 9.914 MB / 0.9356 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.004245/1.125, allocations: 3.355 MB / 1.236 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.126, allocations: 0.5025 MB / 1.237 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004663/1.126, allocations: 286 kB / 1.237 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006822/1.127, allocations: 0.6731 MB / 1.238 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/1.127, allocations: 39.62 kB / 1.238 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=51): time 4.017e-06/1.127, allocations: 0 / 1.238 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of matching and sorting (n=51): time 0.00182/1.129, allocations: 0.7754 MB / 1.239 GB, free: 3.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/1.129, allocations: 59.83 kB / 1.239 GB, free: 3.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/1.13, allocations: 0.5979 MB / 1.239 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.98e-05/1.13, allocations: 37.7 kB / 1.239 GB, free: 3.098 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003167/1.13, allocations: 392.2 kB / 1.24 GB, free: 2.711 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/1.13, allocations: 185.3 kB / 1.24 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/1.13, allocations: 98.09 kB / 1.24 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000194/1.131, allocations: 378.8 kB / 1.24 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003959/1.131, allocations: 209 kB / 1.241 GB, free: 1.844 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004478/1.131, allocations: 279.2 kB / 1.241 GB, free: 1.555 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008806/1.132, allocations: 0.5075 MB / 1.241 GB, free: 1.027 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/1.132, allocations: 4 kB / 1.241 GB, free: 1.023 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001028/1.133, allocations: 0.6152 MB / 1.242 GB, free: 412 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.133, allocations: 4 kB / 1.242 GB, free: 408 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/1.133, allocations: 8.156 kB / 1.242 GB, free: 400 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.134, allocations: 4 kB / 1.242 GB, free: 396 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005853/1.134, allocations: 135.8 kB / 1.242 GB, free: 260 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/1.134, allocations: 4 kB / 1.242 GB, free: 256 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006386/1.135, allocations: 51.45 kB / 1.242 GB, free: 204 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.63e-05/1.135, allocations: 20 kB / 1.242 GB, free: 184 kB / 0.9356 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.0003434/1.135, allocations: 261.6 kB / 1.242 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/1.135, allocations: 71.16 kB / 1.242 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001103/1.136, allocations: 0.5982 MB / 1.243 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.015e-05/1.136, allocations: 7.984 kB / 1.243 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.136, allocations: 0 / 1.243 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001024/1.137, allocations: 0.8183 MB / 1.244 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002308/1.14, allocations: 1.542 MB / 1.245 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.14, allocations: 0 / 1.245 GB, free: 12.71 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007561/1.141, allocations: 155.9 kB / 1.245 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/1.141, allocations: 7.938 kB / 1.245 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.02e-05/1.141, allocations: 15.98 kB / 1.245 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/1.141, allocations: 4 kB / 1.245 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/1.141, allocations: 3.938 kB / 1.246 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/1.142, allocations: 0.9472 MB / 1.246 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/1.142, allocations: 220 kB / 1.247 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.453e-05/1.143, allocations: 12 kB / 1.247 GB, free: 11.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000553/1.143, allocations: 29.55 kB / 1.247 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.419e-05/1.143, allocations: 32.39 kB / 1.247 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.052e-05/1.143, allocations: 19.98 kB / 1.247 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0004834/1.144, allocations: 427 kB / 1.247 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.144, allocations: 0 / 1.247 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0007377/1.144, allocations: 275.4 kB / 1.247 GB, free: 10.55 MB / 0.9512 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.0004593/1.145, allocations: 213.5 kB / 1.248 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0009288/1.146, allocations: 0.5015 MB / 1.248 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.146, allocations: 4 kB / 1.248 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004248/1.146, allocations: 266.3 kB / 1.248 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/1.148, allocations: 494.3 kB / 1.249 GB, free: 9.105 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/1.151, allocations: 1.815 MB / 1.251 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005808/1.152, allocations: 1.028 MB / 1.252 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005891/1.152, allocations: 182.1 kB / 1.252 GB, free: 6.02 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/1.152, allocations: 63.38 kB / 1.252 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of SimCode: time 8.11e-07/1.152, allocations: 0 / 1.252 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of Templates: time 0.02615/1.179, allocations: 15.75 MB / 1.267 GB, free: 6.414 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches