Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001486, allocations: 107.2 kB / 15.99 MB, free: 5.895 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.001536/0.001536, allocations: 193.1 kB / 16.91 MB, free: 5.746 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.518/1.518, allocations: 222.9 MB / 240.6 MB, free: 15.43 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.701/2.701, allocations: 437 MB / 0.7107 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001896, allocations: 61.41 kB / 0.8694 GB, free: 2.582 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3902, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.017/1.407, allocations: 190.2 MB / 1.203 GB, free: 6.047 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.008325/1.416, allocations: 3.988 MB / 1.207 GB, free: 2.797 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/1.417, allocations: 24.19 kB / 1.207 GB, free: 2.785 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001538/1.419, allocations: 420.6 kB / 1.207 GB, free: 2.453 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.004353/1.423, allocations: 1.443 MB / 1.209 GB, free: 1.363 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003993/1.427, allocations: 1.255 MB / 1.21 GB, free: 492 kB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00286/1.43, allocations: 1.643 MB / 1.212 GB, free: 15.56 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/1.432, allocations: 0.9386 MB / 1.213 GB, free: 14.92 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002039/1.434, allocations: 0.94 MB / 1.214 GB, free: 14.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001207/1.435, allocations: 0.8795 MB / 1.214 GB, free: 13.88 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001462/1.435, allocations: 99.31 kB / 1.215 GB, free: 13.87 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003335/1.438, allocations: 1.366 MB / 1.216 GB, free: 13.12 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0004638/1.439, allocations: 356 kB / 1.216 GB, free: 12.87 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0007001/1.44, allocations: 0.5108 MB / 1.217 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.002064/1.442, allocations: 1.174 MB / 1.218 GB, free: 11.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/1.442, allocations: 0 / 1.218 GB, free: 11.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.835e-06/1.442, allocations: 4 kB / 1.218 GB, free: 11.77 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.436e-05/1.442, allocations: 0 / 1.218 GB, free: 11.77 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003487/1.445, allocations: 1.441 MB / 1.219 GB, free: 10.75 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/1.445, allocations: 10.25 kB / 1.219 GB, free: 10.75 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/1.447, allocations: 241.1 kB / 1.219 GB, free: 10.64 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/1.448, allocations: 0.5856 MB / 1.22 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.146e-05/1.448, allocations: 36.5 kB / 1.22 GB, free: 10.12 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/1.448, allocations: 49.03 kB / 1.22 GB, free: 10.11 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/1.45, allocations: 0.9766 MB / 1.221 GB, free: 9.266 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/1.45, allocations: 7.906 kB / 1.221 GB, free: 9.258 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/1.45, allocations: 20 kB / 1.221 GB, free: 9.238 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/1.45, allocations: 31.98 kB / 1.221 GB, free: 9.207 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/1.452, allocations: 0.9406 MB / 1.222 GB, free: 8.27 MB / 0.92 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.006382/1.458, allocations: 4.246 MB / 1.226 GB, free: 3.848 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001067/1.459, allocations: 0.6056 MB / 1.227 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008297/1.46, allocations: 0.5174 MB / 1.227 GB, free: 2.715 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001225/1.461, allocations: 0.8783 MB / 1.228 GB, free: 1.652 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.112e-05/1.461, allocations: 39 kB / 1.228 GB, free: 1.602 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001904/1.463, allocations: 447.2 kB / 1.229 GB, free: 1.164 MB / 0.92 GB Notification: Performance of pre-optimization done (n=50): time 3.607e-06/1.463, allocations: 0 / 1.229 GB, free: 1.164 MB / 0.92 GB Notification: Performance of matching and sorting (n=50): time 0.01801/1.481, allocations: 3.845 MB / 1.232 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.979e-05/1.481, allocations: 55.84 kB / 1.232 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001216/1.483, allocations: 0.7077 MB / 1.233 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001795/1.483, allocations: 41.69 kB / 1.233 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/1.483, allocations: 320.6 kB / 1.233 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002329/1.483, allocations: 177.4 kB / 1.234 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/1.484, allocations: 142.1 kB / 1.234 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000169/1.484, allocations: 334 kB / 1.234 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007077/1.485, allocations: 392.9 kB / 1.234 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007845/1.485, allocations: 489.5 kB / 1.235 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/1.487, allocations: 0.9219 MB / 1.236 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.487, allocations: 0 / 1.236 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01171/1.499, allocations: 2.556 MB / 1.238 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/1.499, allocations: 11.98 kB / 1.238 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/1.499, allocations: 3.938 kB / 1.238 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009738/1.509, allocations: 1.735 MB / 1.24 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/1.509, allocations: 91.86 kB / 1.24 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01384/1.523, allocations: 7.159 MB / 1.247 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.524, allocations: 27.98 kB / 1.247 GB, free: 13.74 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/1.524, allocations: 47.92 kB / 1.247 GB, free: 13.69 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005354/1.525, allocations: 207.2 kB / 1.247 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/1.525, allocations: 79.06 kB / 1.247 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005792/1.531, allocations: 1.741 MB / 1.249 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/1.531, allocations: 11.94 kB / 1.249 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/1.531, allocations: 4 kB / 1.249 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/1.531, allocations: 3.984 kB / 1.249 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006663/1.538, allocations: 2.544 MB / 1.252 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.538, allocations: 0 / 1.252 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004455/1.538, allocations: 87.89 kB / 1.252 GB, free: 8.91 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003469/1.542, allocations: 0.8096 MB / 1.253 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/1.542, allocations: 15.94 kB / 1.253 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007708/1.549, allocations: 4.852 MB / 1.257 GB, free: 2.953 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.549, allocations: 7.875 kB / 1.257 GB, free: 2.945 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/1.555, allocations: 2.147 MB / 1.259 GB, free: 0.7578 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005893/1.556, allocations: 231.9 kB / 1.26 GB, free: 0.5117 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/1.556, allocations: 16 kB / 1.26 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/1.557, allocations: 31.97 kB / 1.26 GB, free: 476 kB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/1.557, allocations: 52.44 kB / 1.26 GB, free: 424 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.407e-05/1.557, allocations: 20 kB / 1.26 GB, free: 404 kB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0007372/1.558, allocations: 0.5029 MB / 1.26 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/1.558, allocations: 0 / 1.26 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001128/1.559, allocations: 295.8 kB / 1.261 GB, free: 15.61 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.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 (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (4,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006144/1.559, allocations: 219.4 kB / 1.261 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003933/1.563, allocations: 1.525 MB / 1.262 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/1.563, allocations: 0 / 1.262 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001945/1.565, allocations: 0.907 MB / 1.263 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002154/1.567, allocations: 462.7 kB / 1.264 GB, free: 12.47 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/1.571, allocations: 2.016 MB / 1.266 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007457/1.572, allocations: 0.9789 MB / 1.266 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002381/1.572, allocations: 75.41 kB / 1.267 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of SimCode: time 6.71e-07/1.572, allocations: 0 / 1.267 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of Templates: time 0.02971/1.602, allocations: 19.29 MB / 1.285 GB, free: 6.168 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches