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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001045/0.001045, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.517/1.517, allocations: 223.3 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.627/2.627, allocations: 390.9 MB / 0.667 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004524/0.0004524, allocations: 8 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9966/0.997, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002335/0.9995, allocations: 1.161 MB / 0.9568 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001784/1.001, allocations: 0.8295 MB / 0.9576 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.155e-05/1.001, allocations: 1.469 kB / 0.9576 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003551/1.002, allocations: 138.5 kB / 0.9578 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001411/1.002, allocations: 67.53 kB / 0.9578 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007632/1.003, allocations: 140.8 kB / 0.958 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001569/1.003, allocations: 58.22 kB / 0.958 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.106e-05/1.003, allocations: 5.828 kB / 0.958 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.355e-05/1.003, allocations: 36.06 kB / 0.9581 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/1.003, allocations: 79.47 kB / 0.9582 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/1.003, allocations: 1.406 kB / 0.9582 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/1.004, allocations: 225.6 kB / 0.9584 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/1.004, allocations: 61.91 kB / 0.9584 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.675e-05/1.004, allocations: 87.94 kB / 0.9585 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004111/1.004, allocations: 179.2 kB / 0.9587 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/1.004, allocations: 0 / 0.9587 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.855e-06/1.004, allocations: 0 / 0.9587 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.004, allocations: 0 / 0.9587 GB, free: 5.57 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.0008149/1.005, allocations: 497.1 kB / 0.9592 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/1.005, allocations: 10.22 kB / 0.9592 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/1.005, allocations: 24.47 kB / 0.9592 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/1.006, allocations: 265.1 kB / 0.9594 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/1.006, allocations: 1.656 kB / 0.9594 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/1.006, allocations: 5.25 kB / 0.9594 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/1.006, allocations: 81.41 kB / 0.9595 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/1.006, allocations: 3.938 kB / 0.9595 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/1.006, allocations: 3.938 kB / 0.9595 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.006, allocations: 1.375 kB / 0.9595 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/1.006, allocations: 96.81 kB / 0.9596 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006751/1.007, allocations: 398.7 kB / 0.96 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/1.007, allocations: 93.78 kB / 0.9601 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/1.007, allocations: 49.95 kB / 0.9601 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.87e-05/1.007, allocations: 20.36 kB / 0.9602 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/1.007, allocations: 39.88 kB / 0.9602 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.423e-06/1.007, allocations: 0 / 0.9602 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0005378/1.008, allocations: 193.4 kB / 0.9604 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/1.008, allocations: 55.34 kB / 0.9604 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004831/1.009, allocations: 356.6 kB / 0.9608 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/1.009, allocations: 26.73 kB / 0.9608 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.841e-05/1.009, allocations: 140.2 kB / 0.9609 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.477e-05/1.009, allocations: 4.656 kB / 0.9609 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/1.009, allocations: 23.7 kB / 0.961 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.417e-05/1.009, allocations: 347 kB / 0.9613 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002046/1.009, allocations: 96.7 kB / 0.9614 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/1.009, allocations: 104.5 kB / 0.9615 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/1.01, allocations: 220.6 kB / 0.9617 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.01, allocations: 0 / 0.9617 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005243/1.01, allocations: 266.7 kB / 0.962 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.01, allocations: 5.5 kB / 0.962 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/1.01, allocations: 0 / 0.962 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/1.01, allocations: 1.188 kB / 0.962 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/1.01, allocations: 11.67 kB / 0.962 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/1.01, allocations: 1.406 kB / 0.962 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.306e-05/1.01, allocations: 15.47 kB / 0.962 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/1.011, allocations: 5.391 kB / 0.962 GB, free: 3.18 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 0.0001286/1.011, allocations: 153.8 kB / 0.9621 GB, free: 3.043 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/1.011, allocations: 23.3 kB / 0.9622 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003427/1.011, allocations: 154 kB / 0.9623 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/1.011, allocations: 4.031 kB / 0.9623 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.011, allocations: 1.031 kB / 0.9623 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/1.011, allocations: 0 / 0.9623 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002381/1.011, allocations: 244 kB / 0.9625 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.011, allocations: 3.938 kB / 0.9625 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/1.011, allocations: 12.8 kB / 0.9626 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/1.011, allocations: 0 / 0.9626 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/1.011, allocations: 1.344 kB / 0.9626 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.011, allocations: 0 / 0.9626 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/1.011, allocations: 0 / 0.9626 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000328/1.012, allocations: 252.1 kB / 0.9628 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-05/1.012, allocations: 101 kB / 0.9629 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/1.012, allocations: 1.375 kB / 0.9629 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/1.012, allocations: 13.83 kB / 0.9629 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/1.012, allocations: 1.156 kB / 0.9629 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/1.012, allocations: 1.344 kB / 0.9629 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002621/1.012, allocations: 251.8 kB / 0.9632 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/1.012, allocations: 0 / 0.9632 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004392/1.013, allocations: 70.88 kB / 0.9632 GB, free: 2.262 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.0002788/1.013, allocations: 155.3 kB / 0.9634 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003597/1.013, allocations: 171.4 kB / 0.9635 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/1.013, allocations: 5.031 kB / 0.9635 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001272/1.014, allocations: 50.41 kB / 0.9636 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/1.014, allocations: 16.34 kB / 0.9636 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006989/1.015, allocations: 446.5 kB / 0.964 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002151/1.015, allocations: 0.7411 MB / 0.9648 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/1.015, allocations: 12.62 kB / 0.9648 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/1.015, allocations: 0 / 0.9648 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of Templates: time 0.005666/1.021, allocations: 2.373 MB / 0.9671 GB, free: 15.83 MB / 0.7325 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) "" Variables in the reference:time,m_flow Variables in the result:m_flow,time