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.001763/0.001763, allocations: 108.7 kB / 16.41 MB, free: 6.492 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.001839/0.001839, allocations: 183 kB / 17.34 MB, free: 5.762 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.589/1.589, allocations: 222.9 MB / 241 MB, free: 15.15 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.48/2.48, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.91 kB / 0.9515 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.052/1.054, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002906/1.057, allocations: 1.44 MB / 1.09 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001431/1.058, allocations: 0.81 MB / 1.091 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.293e-05/1.058, allocations: 5.094 kB / 1.091 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003064/1.058, allocations: 134.5 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/1.059, allocations: 64.28 kB / 1.091 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007448/1.059, allocations: 189.9 kB / 1.091 GB, free: 3.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001402/1.059, allocations: 67.92 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.409e-05/1.06, allocations: 3.734 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.08e-05/1.06, allocations: 38.89 kB / 1.091 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/1.06, allocations: 78.52 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/1.06, allocations: 2.688 kB / 1.091 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000485/1.06, allocations: 231.4 kB / 1.092 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/1.06, allocations: 65.23 kB / 1.092 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.153e-05/1.06, allocations: 54.12 kB / 1.092 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004811/1.061, allocations: 279 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.061, allocations: 0.5625 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.543e-06/1.061, allocations: 0.8438 kB / 1.092 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.266e-05/1.061, allocations: 0 / 1.092 GB, free: 3.633 MB / 0.8575 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.00067/1.062, allocations: 0.4975 MB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.062, allocations: 9.875 kB / 1.092 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.735e-05/1.062, allocations: 21.22 kB / 1.092 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/1.062, allocations: 263.4 kB / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/1.062, allocations: 1.125 kB / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/1.062, allocations: 10.45 kB / 1.093 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/1.062, allocations: 74.91 kB / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.062, allocations: 0 / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/1.062, allocations: 0 / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/1.062, allocations: 1.562 kB / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002514/1.063, allocations: 85.19 kB / 1.093 GB, free: 2.871 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/1.063, allocations: 396.8 kB / 1.093 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/1.063, allocations: 91.97 kB / 1.093 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/1.064, allocations: 46.61 kB / 1.093 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.181e-05/1.064, allocations: 20.97 kB / 1.093 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/1.064, allocations: 43.84 kB / 1.093 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/1.064, allocations: 4.562 kB / 1.093 GB, free: 2.477 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0005177/1.064, allocations: 173.2 kB / 1.094 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/1.064, allocations: 53.08 kB / 1.094 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/1.065, allocations: 356.1 kB / 1.094 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/1.065, allocations: 30.44 kB / 1.094 GB, free: 2.172 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/1.065, allocations: 143 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/1.065, allocations: 6.109 kB / 1.094 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.765e-05/1.065, allocations: 26.12 kB / 1.094 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.481e-05/1.065, allocations: 341.8 kB / 1.095 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/1.065, allocations: 94.39 kB / 1.095 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/1.065, allocations: 94.59 kB / 1.095 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/1.066, allocations: 212.9 kB / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/1.066, allocations: 0 / 1.095 GB, free: 1.633 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004604/1.066, allocations: 251.2 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/1.066, allocations: 4.906 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.066, allocations: 1.219 kB / 1.095 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/1.066, allocations: 4.75 kB / 1.095 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/1.066, allocations: 16.72 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/1.066, allocations: 1.219 kB / 1.095 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.216e-05/1.067, allocations: 15 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/1.067, allocations: 1.312 kB / 1.095 GB, free: 1.543 MB / 0.8575 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 0.0001213/1.067, allocations: 148.1 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/1.067, allocations: 20.81 kB / 1.095 GB, free: 1.41 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/1.067, allocations: 147 kB / 1.096 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/1.067, allocations: 0 / 1.096 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.067, allocations: 0.8125 kB / 1.096 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.067, allocations: 0.7969 kB / 1.096 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002677/1.067, allocations: 243.2 kB / 1.096 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/1.067, allocations: 0 / 1.096 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/1.067, allocations: 12.52 kB / 1.096 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.067, allocations: 1.969 kB / 1.096 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/1.067, allocations: 0 / 1.096 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/1.067, allocations: 0.5938 kB / 1.096 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/1.067, allocations: 1.297 kB / 1.096 GB, free: 1.145 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003257/1.068, allocations: 237.6 kB / 1.096 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/1.068, allocations: 97.98 kB / 1.096 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/1.068, allocations: 5.953 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.685e-05/1.068, allocations: 5.953 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.229e-05/1.068, allocations: 2.453 kB / 1.096 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/1.068, allocations: 4.781 kB / 1.096 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002869/1.068, allocations: 251.2 kB / 1.096 GB, free: 0.7656 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.068, allocations: 3.938 kB / 1.096 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004831/1.069, allocations: 70 kB / 1.096 GB, free: 0.75 MB / 0.8575 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.000303/1.069, allocations: 152.7 kB / 1.097 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003842/1.07, allocations: 162.1 kB / 1.097 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.07, allocations: 4 kB / 1.097 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/1.07, allocations: 43.86 kB / 1.097 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/1.07, allocations: 14.66 kB / 1.097 GB, free: 0.6094 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/1.071, allocations: 411.1 kB / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003716/1.071, allocations: 0.74 MB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.832e-05/1.071, allocations: 12.91 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/1.071, allocations: 0 / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of Templates: time 0.006173/1.077, allocations: 2.414 MB / 1.1 GB, free: 15.43 MB / 0.8731 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/jenkins1/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