Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.005249/0.005249, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001097/0.001097, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 62.25 kB / 0.9508 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3308/0.3321, allocations: 140.4 MB / 1.088 GB, free: 1.5 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 1.076/1.408, allocations: 192.6 MB / 1.276 GB, free: 3.512 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.008253/1.416, allocations: 4.018 MB / 1.28 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001866/1.418, allocations: 20.19 kB / 1.28 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.002039/1.42, allocations: 489.4 kB / 1.28 GB, free: 3.473 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006341/1.426, allocations: 1.598 MB / 1.282 GB, free: 3.406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005574/1.432, allocations: 1.367 MB / 1.283 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004592/1.437, allocations: 1.646 MB / 1.285 GB, free: 3.359 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002494/1.439, allocations: 0.9529 MB / 1.286 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/1.443, allocations: 0.9406 MB / 1.287 GB, free: 3.246 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002507/1.446, allocations: 0.8542 MB / 1.288 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003731/1.446, allocations: 93.97 kB / 1.288 GB, free: 3.242 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004597/1.451, allocations: 1.311 MB / 1.289 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005411/1.451, allocations: 353.7 kB / 1.289 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009121/1.452, allocations: 0.511 MB / 1.29 GB, free: 3.23 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003393/1.456, allocations: 1.631 MB / 1.291 GB, free: 3.148 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.456, allocations: 1.531 kB / 1.291 GB, free: 3.148 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.424e-06/1.456, allocations: 0 / 1.291 GB, free: 3.148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.212e-05/1.456, allocations: 2.219 kB / 1.291 GB, free: 3.148 MB / 1.014 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.003297/1.459, allocations: 1.448 MB / 1.293 GB, free: 2.449 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/1.459, allocations: 10.8 kB / 1.293 GB, free: 2.449 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/1.461, allocations: 239.2 kB / 1.293 GB, free: 2.406 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/1.462, allocations: 0.6086 MB / 1.294 GB, free: 2.105 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/1.462, allocations: 46.36 kB / 1.294 GB, free: 2.102 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001258/1.462, allocations: 49.23 kB / 1.294 GB, free: 2.102 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/1.464, allocations: 0.9655 MB / 1.295 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/1.464, allocations: 7.578 kB / 1.295 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-05/1.464, allocations: 22.53 kB / 1.295 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-05/1.464, allocations: 30.02 kB / 1.295 GB, free: 1.883 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001526/1.465, allocations: 0.9359 MB / 1.296 GB, free: 1.883 MB / 1.014 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.005719/1.471, allocations: 4.262 MB / 1.3 GB, free: 15.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/1.472, allocations: 0.6052 MB / 1.3 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007489/1.473, allocations: 0.5188 MB / 1.301 GB, free: 15.54 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/1.474, allocations: 0.8736 MB / 1.302 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/1.474, allocations: 42.3 kB / 1.302 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001487/1.476, allocations: 414.7 kB / 1.302 GB, free: 14.54 MB / 1.029 GB Notification: Performance of pre-optimization done (n=50): time 4.108e-06/1.476, allocations: 0 / 1.302 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=50): time 0.0164/1.492, allocations: 3.84 MB / 1.306 GB, free: 14.24 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/1.492, allocations: 57.47 kB / 1.306 GB, free: 14.18 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/1.493, allocations: 0.704 MB / 1.307 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0002241/1.494, allocations: 35.98 kB / 1.307 GB, free: 14.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/1.494, allocations: 321.5 kB / 1.307 GB, free: 13.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/1.494, allocations: 182.9 kB / 1.307 GB, free: 13.79 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002681/1.494, allocations: 151 kB / 1.307 GB, free: 13.77 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001322/1.494, allocations: 329.8 kB / 1.308 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000665/1.495, allocations: 394.4 kB / 1.308 GB, free: 13.46 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007398/1.496, allocations: 490.8 kB / 1.309 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001448/1.497, allocations: 0.9215 MB / 1.309 GB, free: 13.29 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/1.497, allocations: 1.5 kB / 1.309 GB, free: 13.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01081/1.508, allocations: 2.556 MB / 1.312 GB, free: 13.12 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/1.508, allocations: 10.38 kB / 1.312 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.508, allocations: 2.312 kB / 1.312 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009003/1.517, allocations: 1.73 MB / 1.314 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005504/1.518, allocations: 104 kB / 1.314 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.012/1.53, allocations: 7.128 MB / 1.321 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/1.531, allocations: 17.92 kB / 1.321 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/1.531, allocations: 45.67 kB / 1.321 GB, free: 10.15 MB / 1.029 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.0004583/1.532, allocations: 212.6 kB / 1.321 GB, free: 10.03 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000198/1.532, allocations: 86.03 kB / 1.321 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004985/1.537, allocations: 1.734 MB / 1.323 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/1.537, allocations: 6.656 kB / 1.323 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.537, allocations: 3.219 kB / 1.323 GB, free: 9.859 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.347e-06/1.537, allocations: 6.891 kB / 1.323 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005403/1.542, allocations: 2.543 MB / 1.325 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/1.542, allocations: 5.594 kB / 1.325 GB, free: 9.414 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/1.543, allocations: 92.47 kB / 1.325 GB, free: 9.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002956/1.546, allocations: 0.7952 MB / 1.326 GB, free: 9.359 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.375e-05/1.546, allocations: 22.34 kB / 1.326 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006078/1.552, allocations: 4.847 MB / 1.331 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/1.552, allocations: 2.5 kB / 1.331 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/1.557, allocations: 2.159 MB / 1.333 GB, free: 6.309 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005501/1.557, allocations: 231.2 kB / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.557, allocations: 11.91 kB / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/1.558, allocations: 25.75 kB / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/1.558, allocations: 49.14 kB / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/1.558, allocations: 18.25 kB / 1.333 GB, free: 6.168 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0006503/1.559, allocations: 0.5019 MB / 1.334 GB, free: 6.074 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.7e-07/1.559, allocations: 0 / 1.334 GB, free: 6.074 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001183/1.56, allocations: 290 kB / 1.334 GB, free: 6.055 MB / 1.029 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.0005051/1.56, allocations: 219.1 kB / 1.334 GB, free: 5.945 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.003298/1.564, allocations: 1.467 MB / 1.336 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/1.564, allocations: 0 / 1.336 GB, free: 5.637 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/1.565, allocations: 0.9152 MB / 1.337 GB, free: 5.297 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.567, allocations: 453 kB / 1.337 GB, free: 5.16 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/1.57, allocations: 1.72 MB / 1.339 GB, free: 4.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005933/1.571, allocations: 0.9858 MB / 1.34 GB, free: 3.477 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005892/1.571, allocations: 161.8 kB / 1.34 GB, free: 3.434 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/1.572, allocations: 71.47 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/1.572, allocations: 1.094 kB / 1.34 GB, free: 3.422 MB / 1.029 GB Notification: Performance of Templates: time 0.03814/1.61, allocations: 22.76 MB / 1.362 GB, free: 10.13 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches