Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001668/0.001668, allocations: 105.1 kB / 15.98 MB, free: 6.355 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.001711/0.001711, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.485/1.485, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.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.515/2.515, allocations: 390.2 MB / 0.665 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.31 kB / 0.8127 GB, free: 33.23 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3414, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002972/0.3444, allocations: 1.322 MB / 0.9511 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003475/0.3448, allocations: 125.7 kB / 0.9512 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.3448, allocations: 4 kB / 0.9512 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.96e-05/0.3449, allocations: 3.938 kB / 0.9512 GB, free: 7.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.988e-05/0.345, allocations: 3.938 kB / 0.9512 GB, free: 7.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.3452, allocations: 35.89 kB / 0.9512 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.941e-05/0.3453, allocations: 11.94 kB / 0.9512 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.034e-05/0.3454, allocations: 7.984 kB / 0.9512 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.529e-05/0.3454, allocations: 7.938 kB / 0.9512 GB, free: 7.691 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.3455, allocations: 4 kB / 0.9513 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.3455, allocations: 4 kB / 0.9513 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.3456, allocations: 51.94 kB / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.3457, allocations: 0 / 0.9513 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.3457, allocations: 7.938 kB / 0.9513 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.3458, allocations: 31.95 kB / 0.9513 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.3458, allocations: 0 / 0.9513 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3458, allocations: 0 / 0.9513 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3458, allocations: 0 / 0.9513 GB, free: 7.594 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004284/0.3463, allocations: 335.7 kB / 0.9517 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3463, allocations: 12.03 kB / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.3464, allocations: 0.9375 kB / 0.9517 GB, free: 7.207 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.3465, allocations: 164.4 kB / 0.9518 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.3465, allocations: 4.312 kB / 0.9518 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3465, allocations: 8.375 kB / 0.9518 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/0.3466, allocations: 29.83 kB / 0.9519 GB, free: 6.961 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3467, allocations: 4 kB / 0.9519 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.166e-06/0.3467, allocations: 0 / 0.9519 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3467, allocations: 0 / 0.9519 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.498e-05/0.3467, allocations: 11.98 kB / 0.9519 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.3469, allocations: 145.7 kB / 0.952 GB, free: 6.754 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.556e-05/0.347, allocations: 30.53 kB / 0.9521 GB, free: 6.715 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.347, allocations: 8.859 kB / 0.9521 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007228/0.3477, allocations: 0.6013 MB / 0.9527 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3478, allocations: 38.5 kB / 0.9527 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3478, allocations: 0 / 0.9527 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001591/0.3479, allocations: 49.59 kB / 0.9527 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.348, allocations: 55.34 kB / 0.9528 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.845e-05/0.3481, allocations: 101.8 kB / 0.9529 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.3481, allocations: 29.7 kB / 0.9529 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/0.3481, allocations: 80.14 kB / 0.953 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.3482, allocations: 7.906 kB / 0.953 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.111e-05/0.3482, allocations: 17.78 kB / 0.953 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3483, allocations: 318.8 kB / 0.9533 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.3483, allocations: 0 / 0.9533 GB, free: 5.227 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.35e-05/0.3484, allocations: 4 kB / 0.9533 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.41e-05/0.3484, allocations: 16.84 kB / 0.9533 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3484, allocations: 3.938 kB / 0.9533 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.089e-05/0.3485, allocations: 41.64 kB / 0.9534 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.3485, allocations: 4.094 kB / 0.9534 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3485, allocations: 8 kB / 0.9534 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.3485, allocations: 0 / 0.9534 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.381e-05/0.3486, allocations: 0 / 0.9534 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.3486, allocations: 7.938 kB / 0.9534 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.972e-05/0.3486, allocations: 0 / 0.9534 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3486, allocations: 0 / 0.9534 GB, free: 5.133 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 7.907e-05/0.3487, allocations: 111.8 kB / 0.9535 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.491e-05/0.3488, allocations: 11.94 kB / 0.9535 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001063/0.3489, allocations: 48.81 kB / 0.9536 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3489, allocations: 0 / 0.9536 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3489, allocations: 0 / 0.9536 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3489, allocations: 0 / 0.9536 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00011/0.349, allocations: 149.6 kB / 0.9537 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.349, allocations: 0 / 0.9537 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.673e-05/0.349, allocations: 11.92 kB / 0.9537 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3491, allocations: 0 / 0.9537 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.3491, allocations: 0 / 0.9537 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.3491, allocations: 0 / 0.9537 GB, free: 4.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3491, allocations: 3.938 kB / 0.9537 GB, free: 4.738 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.673e-05/0.3492, allocations: 65.17 kB / 0.9538 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.3492, allocations: 88.94 kB / 0.9539 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.3492, allocations: 0 / 0.9539 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/0.3493, allocations: 4 kB / 0.9539 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.3493, allocations: 3.938 kB / 0.9539 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.575e-06/0.3493, allocations: 4 kB / 0.9539 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.616e-05/0.3493, allocations: 75.31 kB / 0.954 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3493, allocations: 4 kB / 0.954 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001922/0.3495, allocations: 19.98 kB / 0.954 GB, free: 4.441 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * 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.0001735/0.3497, allocations: 111.2 kB / 0.9541 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 8.825e-05/0.3498, allocations: 19.92 kB / 0.9541 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3498, allocations: 0 / 0.9541 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.3498, allocations: 4 kB / 0.9541 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.3501, allocations: 10.94 kB / 0.9541 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.3504, allocations: 135.8 kB / 0.9542 GB, free: 4.129 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3507, allocations: 0.6805 MB / 0.9549 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.3507, allocations: 11.42 kB / 0.9549 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3507, allocations: 3.938 kB / 0.9549 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of Templates: time 0.002152/0.3529, allocations: 0.6053 MB / 0.9555 GB, free: 2.801 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches