Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_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_latest_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.0008106/0.0008108, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009594/0.0009594, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.912/2.912, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003657, allocations: 10.16 kB / 0.9021 GB, free: 36.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3387, allocations: 159.6 MB / 1.058 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001508/0.3402, allocations: 0.9711 MB / 1.059 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002872/0.3405, allocations: 111.7 kB / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.3406, allocations: 0 / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.635e-05/0.3406, allocations: 0 / 1.059 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.33e-05/0.3407, allocations: 15.91 kB / 1.059 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.3409, allocations: 23.91 kB / 1.059 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.408e-05/0.3409, allocations: 11.94 kB / 1.059 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.932e-05/0.341, allocations: 4 kB / 1.059 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.107e-05/0.341, allocations: 4 kB / 1.059 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.331e-05/0.3411, allocations: 7.984 kB / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.3411, allocations: 0 / 1.059 GB, free: 4.18 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.3413, allocations: 43.95 kB / 1.059 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.3413, allocations: 11.91 kB / 1.059 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.829e-05/0.3413, allocations: 33.7 kB / 1.059 GB, free: 4.086 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.37e-05/0.3414, allocations: 19.97 kB / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3414, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.714e-06/0.3414, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.3414, allocations: 0 / 1.059 GB, free: 4.066 MB / 0.8106 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.0003948/0.3418, allocations: 331.5 kB / 1.06 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.3419, allocations: 12.03 kB / 1.06 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.3419, allocations: 7.938 kB / 1.06 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3421, allocations: 159.1 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.3421, allocations: 0 / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.3421, allocations: 7.953 kB / 1.06 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.3422, allocations: 33.69 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3422, allocations: 3.938 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.3422, allocations: 4 kB / 1.06 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3423, allocations: 3.938 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.206e-05/0.3423, allocations: 4 kB / 1.06 GB, free: 3.418 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.3425, allocations: 153.7 kB / 1.06 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.514e-05/0.3425, allocations: 22.58 kB / 1.06 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.756e-05/0.3426, allocations: 4.859 kB / 1.06 GB, free: 3.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007518/0.3433, allocations: 0.6208 MB / 1.061 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3434, allocations: 34.56 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.3434, allocations: 0 / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000161/0.3435, allocations: 45.55 kB / 1.061 GB, free: 2.336 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3436, allocations: 51.41 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.519e-05/0.3437, allocations: 105.8 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.21e-05/0.3437, allocations: 29.83 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.284e-05/0.3437, allocations: 80.14 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.3438, allocations: 0 / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.3438, allocations: 0 / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3439, allocations: 314.8 kB / 1.061 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.378e-05/0.3439, allocations: 4 kB / 1.061 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.009e-05/0.3439, allocations: 3.984 kB / 1.061 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.776e-05/0.344, allocations: 4 kB / 1.061 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.344, allocations: 4.062 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.865e-05/0.344, allocations: 45.55 kB / 1.061 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.3441, allocations: 11.95 kB / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.3441, allocations: 0 / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.3441, allocations: 0 / 1.061 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.35e-05/0.3441, allocations: 4 kB / 1.061 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.3442, allocations: 0 / 1.061 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.757e-05/0.3442, allocations: 0 / 1.061 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-06/0.3442, allocations: 3.984 kB / 1.061 GB, free: 1.641 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.817e-05/0.3443, allocations: 109.9 kB / 1.061 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.3443, allocations: 4 kB / 1.061 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.3444, allocations: 52.7 kB / 1.061 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3444, allocations: 0 / 1.061 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3444, allocations: 0 / 1.061 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3444, allocations: 0 / 1.061 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.3446, allocations: 153.6 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-06/0.3446, allocations: 15.86 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.3446, allocations: 4 kB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3446, allocations: 192 / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.114e-06/0.3446, allocations: 4.031 kB / 1.062 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.3446, allocations: 3.953 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3446, allocations: 0 / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.131e-05/0.3447, allocations: 69.11 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.3448, allocations: 77.11 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3448, allocations: 0 / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.659e-05/0.3448, allocations: 3.938 kB / 1.062 GB, free: 1.055 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.755e-05/0.3449, allocations: 11.98 kB / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.3449, allocations: 0 / 1.062 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.3449, allocations: 79.28 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.5e-07/0.3449, allocations: 0 / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002034/0.3451, allocations: 19.98 kB / 1.062 GB, free: 0.9453 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001815/0.3453, allocations: 115.2 kB / 1.062 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.07e-05/0.3454, allocations: 4 kB / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3454, allocations: 0 / 1.062 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.3454, allocations: 12.05 kB / 1.062 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002313/0.3456, allocations: 11.94 kB / 1.062 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.3459, allocations: 110.5 kB / 1.062 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.3462, allocations: 0.677 MB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.635e-05/0.3463, allocations: 12.05 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.3463, allocations: 11.38 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3463, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of Templates: time 0.002892/0.3492, allocations: 0.5665 MB / 1.063 GB, free: 15.37 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches