Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.OneEffectiveAirLeakageArea,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cra.v|cra.m_flow",fileNamePrefix="Buildings_9_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_9_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.001514/0.001514, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001359/0.001359, allocations: 193.2 kB / 17.29 MB, free: 5.484 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 68.34 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3362, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea): time 0.9459/1.282, allocations: 188.4 MB / 1.135 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01147/1.294, allocations: 6.077 MB / 1.141 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002528/1.296, allocations: 35.84 kB / 1.141 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/1.298, allocations: 0.513 MB / 1.142 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.006952/1.305, allocations: 1.897 MB / 1.143 GB, free: 4.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003511/1.308, allocations: 0.9521 MB / 1.144 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.005355/1.314, allocations: 2.486 MB / 1.147 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001416/1.315, allocations: 0.7607 MB / 1.148 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002109/1.317, allocations: 0.8633 MB / 1.148 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00209/1.32, allocations: 0.7833 MB / 1.149 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001848/1.32, allocations: 89.12 kB / 1.149 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004132/1.324, allocations: 1.586 MB / 1.151 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005126/1.324, allocations: 367.6 kB / 1.151 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0008574/1.325, allocations: 0.5595 MB / 1.152 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003998/1.329, allocations: 1.914 MB / 1.154 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/1.329, allocations: 2.578 kB / 1.154 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.026e-06/1.329, allocations: 0 / 1.154 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.76e-05/1.329, allocations: 0 / 1.154 GB, free: 2.262 MB / 0.8575 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.002648/1.332, allocations: 1.382 MB / 1.155 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/1.332, allocations: 9.031 kB / 1.155 GB, free: 17.33 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/1.334, allocations: 322.9 kB / 1.155 GB, free: 17.25 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/1.336, allocations: 0.7732 MB / 1.156 GB, free: 16.79 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.438e-05/1.336, allocations: 52.34 kB / 1.156 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/1.336, allocations: 72.67 kB / 1.156 GB, free: 16.74 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/1.337, allocations: 0.7887 MB / 1.157 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/1.337, allocations: 0 / 1.157 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.377e-05/1.337, allocations: 31.53 kB / 1.157 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/1.337, allocations: 36.66 kB / 1.157 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/1.338, allocations: 0.6391 MB / 1.158 GB, free: 16.16 MB / 0.8731 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.004343/1.343, allocations: 3.355 MB / 1.161 GB, free: 13.68 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009353/1.344, allocations: 0.4953 MB / 1.161 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004786/1.344, allocations: 290.2 kB / 1.162 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006367/1.345, allocations: 0.6789 MB / 1.162 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/1.345, allocations: 42.28 kB / 1.162 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=51): time 2.254e-06/1.345, allocations: 0 / 1.162 GB, free: 12.56 MB / 0.8731 GB Notification: Performance of matching and sorting (n=51): time 0.00178/1.347, allocations: 0.7691 MB / 1.163 GB, free: 12.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.347, allocations: 57.88 kB / 1.163 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007586/1.347, allocations: 0.6003 MB / 1.164 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.596e-05/1.348, allocations: 36.39 kB / 1.164 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002672/1.348, allocations: 386.5 kB / 1.164 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001746/1.348, allocations: 182 kB / 1.164 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001545/1.348, allocations: 92.66 kB / 1.164 GB, free: 11.4 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001566/1.348, allocations: 377.7 kB / 1.165 GB, free: 11.06 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/1.349, allocations: 208 kB / 1.165 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004402/1.349, allocations: 289.1 kB / 1.165 GB, free: 10.85 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008316/1.35, allocations: 0.5054 MB / 1.166 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/1.35, allocations: 0 / 1.166 GB, free: 10.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00109/1.351, allocations: 0.6209 MB / 1.166 GB, free: 10.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.351, allocations: 13.34 kB / 1.166 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/1.351, allocations: 2.938 kB / 1.166 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.351, allocations: 4.312 kB / 1.166 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/1.352, allocations: 129.3 kB / 1.166 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/1.352, allocations: 6.359 kB / 1.166 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007465/1.353, allocations: 45.41 kB / 1.166 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/1.353, allocations: 21.05 kB / 1.166 GB, free: 10.29 MB / 0.8731 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.0004016/1.353, allocations: 255.9 kB / 1.167 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001351/1.353, allocations: 80.94 kB / 1.167 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/1.354, allocations: 0.5961 MB / 1.167 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/1.354, allocations: 4.938 kB / 1.167 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.354, allocations: 0 / 1.167 GB, free: 9.797 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009361/1.355, allocations: 0.8217 MB / 1.168 GB, free: 9.184 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002502/1.358, allocations: 1.54 MB / 1.17 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.358, allocations: 3.562 kB / 1.17 GB, free: 8.402 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007629/1.359, allocations: 159.4 kB / 1.17 GB, free: 8.387 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.928e-06/1.359, allocations: 6.688 kB / 1.17 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.156e-05/1.359, allocations: 17.3 kB / 1.17 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/1.359, allocations: 2.531 kB / 1.17 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.359, allocations: 2.969 kB / 1.17 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/1.36, allocations: 0.9423 MB / 1.171 GB, free: 7.906 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/1.361, allocations: 225.7 kB / 1.171 GB, free: 7.727 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/1.361, allocations: 11.19 kB / 1.171 GB, free: 7.719 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005598/1.361, allocations: 33.64 kB / 1.171 GB, free: 7.703 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/1.361, allocations: 32.28 kB / 1.171 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-05/1.361, allocations: 18.16 kB / 1.171 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005726/1.362, allocations: 426.6 kB / 1.172 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/1.362, allocations: 0 / 1.172 GB, free: 7.512 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001003/1.363, allocations: 269.8 kB / 1.172 GB, free: 7.465 MB / 0.8731 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.0004969/1.364, allocations: 212.9 kB / 1.172 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0009606/1.364, allocations: 0.5045 MB / 1.172 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.364, allocations: 1.375 kB / 1.172 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004285/1.365, allocations: 270.8 kB / 1.173 GB, free: 7.078 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001863/1.367, allocations: 0.4943 MB / 1.173 GB, free: 6.918 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002914/1.37, allocations: 1.815 MB / 1.175 GB, free: 5.852 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006036/1.37, allocations: 1.028 MB / 1.176 GB, free: 5.117 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0006617/1.371, allocations: 187.8 kB / 1.176 GB, free: 5.066 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/1.371, allocations: 63.03 kB / 1.176 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of SimCode: time 5.21e-07/1.371, allocations: 2.906 kB / 1.176 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of Templates: time 0.02708/1.398, allocations: 15.74 MB / 1.192 GB, free: 13.7 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_OneEffectiveAirLeakageArea.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.OneEffectiveAirLeakageArea.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches