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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.01013/0.01013, allocations: 103.5 kB / 15.73 MB, free: 6.043 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.001925/0.001926, allocations: 189 kB / 16.67 MB, free: 5.961 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.6/2.6, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 63.89 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9333/0.9348, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002386/0.9372, allocations: 1.254 MB / 1.209 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003263/0.9375, allocations: 119.6 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.9376, allocations: 4 kB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.993e-05/0.9376, allocations: 7.922 kB / 1.209 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.146e-05/0.9377, allocations: 3.984 kB / 1.209 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002037/0.9379, allocations: 43.78 kB / 1.209 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 4.454e-05/0.938, allocations: 7.938 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.938, allocations: 4 kB / 1.209 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.281e-05/0.938, allocations: 7.938 kB / 1.209 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.599e-05/0.9381, allocations: 15.97 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.9381, allocations: 0 / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.9383, allocations: 51.94 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.194e-05/0.9383, allocations: 4 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.347e-05/0.9383, allocations: 3.938 kB / 1.209 GB, free: 12.08 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.9384, allocations: 31.95 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.9384, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9384, allocations: 0 / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.9385, allocations: 3.938 kB / 1.209 GB, free: 12.04 MB / 0.9356 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.0004018/0.9389, allocations: 335.4 kB / 1.21 GB, free: 11.67 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.9389, allocations: 12.03 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.939, allocations: 4.844 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/0.9391, allocations: 160.4 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.719e-06/0.9391, allocations: 4.375 kB / 1.21 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.9391, allocations: 4.312 kB / 1.21 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.302e-05/0.9392, allocations: 41.62 kB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.9392, allocations: 3.938 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-06/0.9392, allocations: 0 / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.9393, allocations: 4 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.123e-05/0.9393, allocations: 4 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.9395, allocations: 153.7 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.743e-05/0.9395, allocations: 18.58 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.186e-05/0.9396, allocations: 8.922 kB / 1.21 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006912/0.9402, allocations: 0.6129 MB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.9403, allocations: 38.56 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9403, allocations: 0 / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001493/0.9405, allocations: 41.64 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.099e-05/0.9405, allocations: 51.41 kB / 1.211 GB, free: 10.26 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.063e-05/0.9406, allocations: 97.84 kB / 1.211 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.9406, allocations: 25.7 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.9406, allocations: 88.14 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.9407, allocations: 8.031 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.896e-05/0.9407, allocations: 9.719 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.9408, allocations: 318.8 kB / 1.211 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.449e-05/0.9408, allocations: 4 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.104e-05/0.9408, allocations: 4 kB / 1.211 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.328e-05/0.9409, allocations: 20.8 kB / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9409, allocations: 0 / 1.211 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.213e-05/0.941, allocations: 45.7 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.941, allocations: 11.98 kB / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.941, allocations: 0 / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.941, allocations: 0 / 1.211 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.9411, allocations: 4 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.9411, allocations: 0 / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.802e-05/0.9411, allocations: 0 / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-06/0.9411, allocations: 0 / 1.211 GB, free: 9.59 MB / 0.9356 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.163e-05/0.9412, allocations: 109.8 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.9412, allocations: 3.938 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001237/0.9414, allocations: 54.8 kB / 1.211 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.9414, allocations: 7.922 kB / 1.211 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.9414, allocations: 3.938 kB / 1.211 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9414, allocations: 0 / 1.211 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.9415, allocations: 157.6 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.9415, allocations: 3.938 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.149e-05/0.9415, allocations: 4 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.9415, allocations: 0 / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.9416, allocations: 0 / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.9416, allocations: 0 / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.9416, allocations: 8.031 kB / 1.212 GB, free: 9.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.85e-05/0.9417, allocations: 65.06 kB / 1.212 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.569e-05/0.9417, allocations: 81.05 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.186e-05/0.9417, allocations: 0 / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.56e-05/0.9417, allocations: 0 / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.734e-05/0.9418, allocations: 4 kB / 1.212 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.9418, allocations: 3.984 kB / 1.212 GB, free: 8.992 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.789e-05/0.9418, allocations: 87.31 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9418, allocations: 0 / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001979/0.942, allocations: 16 kB / 1.212 GB, free: 8.891 MB / 0.9356 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.0001828/0.9422, allocations: 111.2 kB / 1.212 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.404e-05/0.9423, allocations: 8 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.9423, allocations: 0 / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.613e-05/0.9423, allocations: 11.94 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002113/0.9426, allocations: 16.05 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.9429, allocations: 102 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002558/0.9431, allocations: 0.6768 MB / 1.213 GB, free: 7.902 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.681e-05/0.9432, allocations: 4 kB / 1.213 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.633e-05/0.9432, allocations: 7.438 kB / 1.213 GB, free: 7.895 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/0.9432, allocations: 4 kB / 1.213 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of Templates: time 0.002737/0.9459, allocations: 0.6064 MB / 1.213 GB, free: 7.289 MB / 0.9356 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