Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001669/0.001669, allocations: 111.6 kB / 16.41 MB, free: 6.012 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.001981/0.001982, allocations: 182.8 kB / 17.34 MB, free: 5.625 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.485/1.485, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.601/2.601, allocations: 437 MB / 0.7112 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001524, allocations: 63.91 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.007/1.008, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.003186/1.011, allocations: 1.44 MB / 1.169 GB, free: 2.387 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001505/1.013, allocations: 0.8228 MB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.026e-05/1.013, allocations: 0 / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002488/1.013, allocations: 123.8 kB / 1.17 GB, free: 1.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/1.014, allocations: 75.77 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000785/1.014, allocations: 189.2 kB / 1.17 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000154/1.014, allocations: 63.81 kB / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/1.015, allocations: 0 / 1.17 GB, free: 1.117 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.789e-05/1.015, allocations: 47.81 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/1.015, allocations: 75.86 kB / 1.17 GB, free: 0.9961 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/1.015, allocations: 4 kB / 1.17 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004406/1.015, allocations: 235.7 kB / 1.17 GB, free: 0.7617 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/1.015, allocations: 59.83 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/1.015, allocations: 55.48 kB / 1.17 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004205/1.016, allocations: 275 kB / 1.171 GB, free: 392 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/1.016, allocations: 4 kB / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.563e-06/1.016, allocations: 0 / 1.171 GB, free: 388 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.022e-05/1.016, allocations: 0 / 1.171 GB, free: 388 kB / 0.8887 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.0008016/1.017, allocations: 0.5001 MB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/1.017, allocations: 8.922 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.489e-05/1.017, allocations: 28.59 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/1.017, allocations: 263.7 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/1.017, allocations: 384 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.179e-05/1.017, allocations: 3.938 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002002/1.017, allocations: 77.66 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.597e-06/1.017, allocations: 0 / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.318e-06/1.017, allocations: 0 / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/1.017, allocations: 0 / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002179/1.018, allocations: 95.86 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/1.018, allocations: 392.7 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/1.018, allocations: 86.53 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/1.018, allocations: 52.88 kB / 1.172 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/1.019, allocations: 19.98 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/1.019, allocations: 30.56 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/1.019, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0004281/1.019, allocations: 181.2 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/1.019, allocations: 55.41 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/1.019, allocations: 359.3 kB / 1.173 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.851e-05/1.019, allocations: 25.7 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000104/1.02, allocations: 136.1 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.392e-05/1.02, allocations: 7.891 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/1.02, allocations: 25.72 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.02, allocations: 338.8 kB / 1.173 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/1.02, allocations: 95.94 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/1.02, allocations: 99.95 kB / 1.173 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002921/1.02, allocations: 204.7 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.02, allocations: 0 / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003458/1.021, allocations: 259.3 kB / 1.174 GB, free: 12.87 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.021, allocations: 7.984 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/1.021, allocations: 0 / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/1.021, allocations: 3.938 kB / 1.174 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/1.021, allocations: 12 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/1.021, allocations: 0 / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/1.021, allocations: 15.83 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/1.021, allocations: 0 / 1.174 GB, free: 12.83 MB / 0.9044 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.0001128/1.021, allocations: 145.7 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.859e-05/1.021, allocations: 27.66 kB / 1.174 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003044/1.022, allocations: 146.6 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/1.022, allocations: 0 / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/1.022, allocations: 3.984 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/1.022, allocations: 0 / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/1.022, allocations: 241.5 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.022, allocations: 3.984 kB / 1.174 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.419e-05/1.022, allocations: 4.094 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/1.022, allocations: 3.984 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/1.022, allocations: 4 kB / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/1.022, allocations: 0 / 1.174 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/1.022, allocations: 4.031 kB / 1.174 GB, free: 12.19 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002876/1.022, allocations: 235.1 kB / 1.175 GB, free: 11.95 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 9.893e-05/1.022, allocations: 108.8 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/1.022, allocations: 4 kB / 1.175 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.4e-05/1.022, allocations: 7.984 kB / 1.175 GB, free: 11.81 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.847e-05/1.022, allocations: 4.031 kB / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/1.022, allocations: 0 / 1.175 GB, free: 11.8 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002303/1.023, allocations: 249.9 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/1.023, allocations: 0 / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003689/1.023, allocations: 75.92 kB / 1.175 GB, free: 11.49 MB / 0.9044 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.0002709/1.023, allocations: 147.2 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003168/1.024, allocations: 155.9 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.024, allocations: 4 kB / 1.175 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001055/1.024, allocations: 51.89 kB / 1.175 GB, free: 11.13 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003249/1.024, allocations: 15.47 kB / 1.175 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006177/1.025, allocations: 401.6 kB / 1.176 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/1.025, allocations: 0.7392 MB / 1.177 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.396e-05/1.025, allocations: 11.44 kB / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/1.025, allocations: 0 / 1.177 GB, free: 9.914 MB / 0.9044 GB Notification: Performance of Templates: time 0.004385/1.03, allocations: 2.413 MB / 1.179 GB, free: 7.52 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.makefile (rm -f Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; mkfifo Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe >> ../files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.sim & ./Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Airflow_Multizone_BaseClasses_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches