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.001598/0.001598, allocations: 108.6 kB / 16.41 MB, free: 6.465 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.001277/0.001278, allocations: 189.2 kB / 17.34 MB, free: 5.715 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.06 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.602/2.602, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002026/0.002026, allocations: 67.89 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8102/0.8122, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002948/0.8152, allocations: 1.44 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001455/0.8167, allocations: 0.8229 MB / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.579e-05/0.8168, allocations: 0 / 1.17 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002452/0.817, allocations: 131.7 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.8172, allocations: 75.83 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006224/0.8178, allocations: 180.8 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.8179, allocations: 67.8 kB / 1.17 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.818, allocations: 4 kB / 1.17 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 5.406e-05/0.818, allocations: 35.88 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.8182, allocations: 83.86 kB / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.257e-05/0.8182, allocations: 0 / 1.17 GB, free: 0.9492 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000381/0.8186, allocations: 227.7 kB / 1.17 GB, free: 0.7266 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.68e-05/0.8187, allocations: 59.83 kB / 1.17 GB, free: 0.668 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.8188, allocations: 59.47 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003815/0.8191, allocations: 283.5 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.8192, allocations: 0 / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8192, allocations: 0 / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.8192, allocations: 0 / 1.171 GB, free: 344 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.0007264/0.8199, allocations: 0.5135 MB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.82, allocations: 8.922 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.43e-05/0.82, allocations: 20.8 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.8203, allocations: 259.9 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.8204, allocations: 4.375 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.8204, allocations: 7.938 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.8206, allocations: 69.66 kB / 1.172 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.8206, allocations: 3.938 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.8206, allocations: 4 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.8206, allocations: 4 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002105/0.8209, allocations: 83.94 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005775/0.8214, allocations: 404.7 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.8216, allocations: 86.53 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.8217, allocations: 52.83 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.8218, allocations: 15.98 kB / 1.172 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.8218, allocations: 42.48 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.453e-06/0.8218, allocations: 0 / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0004504/0.8223, allocations: 177.6 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.8224, allocations: 55.39 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/0.8227, allocations: 351.2 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.8228, allocations: 29.7 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.8229, allocations: 136.1 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.8229, allocations: 3.938 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.786e-05/0.823, allocations: 25.7 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001739/0.8231, allocations: 342.8 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.8233, allocations: 99.97 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.8235, allocations: 98.56 kB / 1.173 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003008/0.8238, allocations: 208.7 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.8238, allocations: 0 / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003663/0.8242, allocations: 249.4 kB / 1.174 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8242, allocations: 8 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.8242, allocations: 0 / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.8242, allocations: 0 / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.692e-05/0.8243, allocations: 11.98 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.8243, allocations: 0 / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.076e-05/0.8244, allocations: 19.88 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.8244, allocations: 3.938 kB / 1.174 GB, free: 12.77 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.0001287/0.8245, allocations: 149.7 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.8246, allocations: 19.86 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.8249, allocations: 142.6 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.8249, allocations: 0 / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.8249, allocations: 0 / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.8249, allocations: 4.094 kB / 1.174 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002576/0.8252, allocations: 249.5 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8252, allocations: 3.984 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.738e-05/0.8253, allocations: 11.98 kB / 1.174 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.8253, allocations: 4.031 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.8253, allocations: 0 / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.8253, allocations: 4 kB / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.8253, allocations: 0 / 1.174 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003055/0.8256, allocations: 239.2 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.8257, allocations: 105 kB / 1.175 GB, free: 11.76 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.862e-05/0.8257, allocations: 4.031 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.228e-05/0.8258, allocations: 4 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.8258, allocations: 3.984 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.8259, allocations: 7.938 kB / 1.175 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002641/0.8261, allocations: 245.9 kB / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8261, allocations: 0 / 1.175 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003357/0.8265, allocations: 71.86 kB / 1.175 GB, free: 11.43 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.0002854/0.8268, allocations: 151.1 kB / 1.175 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003309/0.8271, allocations: 167.8 kB / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.8271, allocations: 0 / 1.175 GB, free: 11.11 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001129/0.8272, allocations: 43.95 kB / 1.175 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.8276, allocations: 16.59 kB / 1.176 GB, free: 11.05 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006406/0.8282, allocations: 375.6 kB / 1.176 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.8286, allocations: 0.7353 MB / 1.177 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.358e-05/0.8287, allocations: 16.55 kB / 1.177 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.172e-05/0.8287, allocations: 15.38 kB / 1.177 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.8287, allocations: 4 kB / 1.177 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of Templates: time 0.1667/0.9954, allocations: 2.107 MB / 1.179 GB, free: 7.754 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 -s cvode -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