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.001217/0.001218, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001125/0.001125, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.528/2.528, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 56.28 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4324/0.4337, allocations: 153 MB / 1.027 GB, free: 2.047 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002767/0.4365, allocations: 1.26 MB / 1.028 GB, free: 0.7734 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000311/0.4368, allocations: 130 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.989e-05/0.4369, allocations: 0 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.84e-05/0.4369, allocations: 0 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.233e-05/0.437, allocations: 3.938 kB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002306/0.4373, allocations: 39.88 kB / 1.028 GB, free: 0.6055 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.847e-05/0.4373, allocations: 19.86 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.237e-05/0.4374, allocations: 0 / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.767e-05/0.4374, allocations: 12 kB / 1.028 GB, free: 0.5742 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.568e-05/0.4375, allocations: 7.938 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.567e-05/0.4375, allocations: 0 / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.4376, allocations: 55.88 kB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.4377, allocations: 3.984 kB / 1.028 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.78e-05/0.4377, allocations: 7.984 kB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.4378, allocations: 35.89 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4378, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4379, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4379, allocations: 0 / 1.028 GB, free: 476 kB / 0.795 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.0004082/0.4383, allocations: 335.5 kB / 1.029 GB, free: 92 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.4383, allocations: 8.031 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.307e-05/0.4384, allocations: 0.9375 kB / 1.029 GB, free: 84 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001618/0.4385, allocations: 168.3 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.4386, allocations: 384 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.275e-05/0.4386, allocations: 384 / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.111e-05/0.4387, allocations: 41.81 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.4387, allocations: 3.984 kB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.4387, allocations: 4 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4387, allocations: 0 / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.388e-05/0.4388, allocations: 7.938 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.4389, allocations: 153.7 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.761e-05/0.439, allocations: 18.61 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.847e-05/0.439, allocations: 8.922 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007305/0.4398, allocations: 0.613 MB / 1.03 GB, free: 14.84 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.4398, allocations: 34.5 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 2.194e-06/0.4398, allocations: 0 / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001575/0.44, allocations: 49.58 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.44, allocations: 51.41 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.488e-05/0.4401, allocations: 97.84 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.4401, allocations: 25.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.4402, allocations: 84.27 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.4402, allocations: 11.84 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.4402, allocations: 13.72 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.4403, allocations: 310.8 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.09e-05/0.4404, allocations: 4 kB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.192e-05/0.4404, allocations: 7.984 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.89e-05/0.4404, allocations: 8.859 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4404, allocations: 4 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.885e-05/0.4405, allocations: 49.64 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.4405, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.4405, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4405, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.431e-05/0.4406, allocations: 4 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.4406, allocations: 3.984 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.4406, allocations: 0 / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.4407, allocations: 4 kB / 1.03 GB, free: 14.01 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.327e-05/0.4407, allocations: 109.8 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.053e-05/0.4407, allocations: 7.938 kB / 1.03 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.943e-05/0.4409, allocations: 52.75 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.4409, allocations: 4 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4409, allocations: 0 / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.4409, allocations: 0 / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.441, allocations: 161.6 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.441, allocations: 0 / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.518e-05/0.441, allocations: 3.938 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.441, allocations: 4 kB / 1.031 GB, free: 13.61 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.4411, allocations: 4.031 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4411, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4411, allocations: 0 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.786e-05/0.4411, allocations: 65.03 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.083e-05/0.4412, allocations: 85.05 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.4412, allocations: 3.938 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.653e-05/0.4412, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.614e-05/0.4413, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.4413, allocations: 4.031 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.907e-05/0.4413, allocations: 87.27 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.924e-06/0.4413, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002184/0.4415, allocations: 19.94 kB / 1.031 GB, free: 13.3 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 (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.0001744/0.4417, allocations: 107.2 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.517e-05/0.4418, allocations: 11.98 kB / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4418, allocations: 0 / 1.031 GB, free: 13.18 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.522e-05/0.4418, allocations: 12.06 kB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.4421, allocations: 9.516 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.4424, allocations: 114 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.4426, allocations: 0.6768 MB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.586e-05/0.4426, allocations: 0 / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.899e-05/0.4427, allocations: 15.5 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of SimCode: time 4.91e-07/0.4427, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.00284/0.4455, allocations: 0.5881 MB / 1.032 GB, free: 11.72 MB / 0.8106 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 -s cvode -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/jenkins1/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