Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.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.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow",fileNamePrefix="Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001324/0.001324, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.332/1.332, allocations: 222.9 MB / 239.9 MB, free: 4.516 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.322/2.322, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 59.91 kB / 0.812 GB, free: 14.76 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6312/0.6325, allocations: 140.4 MB / 0.9491 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002443/0.635, allocations: 1.494 MB / 0.9506 GB, free: 7.891 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001159/0.6362, allocations: 0.8269 MB / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.6362, allocations: 0 / 0.9514 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002/0.6364, allocations: 130.4 kB / 0.9515 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.6366, allocations: 68.67 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.6372, allocations: 165.8 kB / 0.9517 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000102/0.6373, allocations: 56.33 kB / 0.9518 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.6373, allocations: 6.453 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.6374, allocations: 35.89 kB / 0.9518 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.6375, allocations: 83.12 kB / 0.9519 GB, free: 7 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.6375, allocations: 6.25 kB / 0.9519 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.6379, allocations: 233.8 kB / 0.9521 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.404e-05/0.638, allocations: 65.08 kB / 0.9522 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.638, allocations: 54.52 kB / 0.9522 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.6384, allocations: 266.3 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.6384, allocations: 1.062 kB / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.6384, allocations: 0 / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.6384, allocations: 0 / 0.9525 GB, free: 6.641 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005727/0.639, allocations: 0.5027 MB / 0.953 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.6391, allocations: 12.25 kB / 0.953 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.6391, allocations: 21.94 kB / 0.953 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.6393, allocations: 261.6 kB / 0.9533 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.6393, allocations: 9.984 kB / 0.9533 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.381e-05/0.6394, allocations: 8.062 kB / 0.9533 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.6395, allocations: 72.77 kB / 0.9533 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.545e-06/0.6395, allocations: 3.938 kB / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.235e-06/0.6396, allocations: 0 / 0.9533 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.6396, allocations: 3.984 kB / 0.9534 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.6398, allocations: 87.66 kB / 0.9534 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/0.6402, allocations: 390.8 kB / 0.9538 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.6404, allocations: 96.02 kB / 0.9539 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.574e-05/0.6405, allocations: 52.17 kB / 0.9539 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.6405, allocations: 18.08 kB / 0.954 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.184e-05/0.6405, allocations: 35.94 kB / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.6406, allocations: 0 / 0.954 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000398/0.641, allocations: 174 kB / 0.9542 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.641, allocations: 55.53 kB / 0.9542 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.6413, allocations: 360.7 kB / 0.9546 GB, free: 5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.6413, allocations: 26.73 kB / 0.9546 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.6414, allocations: 144.4 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.437e-06/0.6414, allocations: 0 / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.6414, allocations: 28.08 kB / 0.9548 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.086e-05/0.6415, allocations: 339.1 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.6416, allocations: 94.98 kB / 0.9552 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001264/0.6418, allocations: 96.91 kB / 0.9553 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.642, allocations: 205.9 kB / 0.9555 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.642, allocations: 0 / 0.9555 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000324/0.6424, allocations: 256.3 kB / 0.9557 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6424, allocations: 5.406 kB / 0.9557 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6424, allocations: 7.984 kB / 0.9557 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.6424, allocations: 0 / 0.9557 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.257e-05/0.6425, allocations: 15.14 kB / 0.9557 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.6425, allocations: 0 / 0.9557 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.917e-05/0.6426, allocations: 13.16 kB / 0.9557 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.6426, allocations: 1.812 kB / 0.9557 GB, free: 4.234 MB / 0.7169 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 8.058e-05/0.6427, allocations: 146 kB / 0.9559 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.819e-05/0.6427, allocations: 20 kB / 0.9559 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.643, allocations: 147.7 kB / 0.956 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.643, allocations: 0 / 0.956 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.643, allocations: 0 / 0.956 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.643, allocations: 1.375 kB / 0.956 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.6432, allocations: 247.1 kB / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.6432, allocations: 0 / 0.9563 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.943e-05/0.6433, allocations: 14.8 kB / 0.9563 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6433, allocations: 0 / 0.9563 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.6433, allocations: 5.406 kB / 0.9563 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.6433, allocations: 0 / 0.9563 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.6433, allocations: 0 / 0.9563 GB, free: 3.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.6436, allocations: 231.6 kB / 0.9565 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.6436, allocations: 99.83 kB / 0.9566 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/0.6437, allocations: 4 kB / 0.9566 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.54e-05/0.6437, allocations: 16.11 kB / 0.9566 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.573e-05/0.6438, allocations: 1.156 kB / 0.9566 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.6438, allocations: 1.125 kB / 0.9566 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002025/0.644, allocations: 252.4 kB / 0.9569 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.644, allocations: 3.938 kB / 0.9569 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003743/0.6444, allocations: 64.06 kB / 0.9569 GB, free: 3.324 MB / 0.7169 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.0002975/0.6447, allocations: 157 kB / 0.9571 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003103/0.645, allocations: 163.3 kB / 0.9572 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.645, allocations: 1.094 kB / 0.9572 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.6451, allocations: 45.47 kB / 0.9573 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.6455, allocations: 16.75 kB / 0.9573 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.646, allocations: 419.5 kB / 0.9577 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001444/0.6462, allocations: 0.7404 MB / 0.9584 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.244e-05/0.6462, allocations: 13 kB / 0.9584 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.6463, allocations: 12.81 kB / 0.9585 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6463, allocations: 7.938 kB / 0.9585 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.004978/0.6513, allocations: 2.046 MB / 0.9605 GB, free: 1.102 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches