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.007152/0.007152, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.001607/0.001607, allocations: 195.5 kB / 16.79 MB, free: 6.254 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.412/1.412, allocations: 222.9 MB / 240.5 MB, free: 4.43 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.491/2.491, allocations: 390.2 MB / 0.6649 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00157/0.00157, allocations: 63.91 kB / 0.8125 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7997/0.8013, allocations: 140.4 MB / 0.9496 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002961/0.8043, allocations: 1.502 MB / 0.9511 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001369/0.8057, allocations: 0.8408 MB / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.414e-05/0.8058, allocations: 0 / 0.9519 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002445/0.8061, allocations: 135 kB / 0.952 GB, free: 7.363 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/0.8062, allocations: 72.03 kB / 0.9521 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006213/0.8068, allocations: 133.5 kB / 0.9522 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.8069, allocations: 57.48 kB / 0.9523 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.375e-05/0.807, allocations: 14.83 kB / 0.9523 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.944e-05/0.8071, allocations: 42.3 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001371/0.8072, allocations: 76.38 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.8072, allocations: 1.219 kB / 0.9524 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004259/0.8077, allocations: 214.2 kB / 0.9526 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.8078, allocations: 68.92 kB / 0.9527 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.618e-05/0.8078, allocations: 55.02 kB / 0.9527 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003176/0.8082, allocations: 182.6 kB / 0.9529 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8082, allocations: 0 / 0.9529 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.634e-06/0.8082, allocations: 5.188 kB / 0.9529 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.8082, allocations: 3.938 kB / 0.9529 GB, free: 6.867 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.000586/0.8088, allocations: 0.4979 MB / 0.9534 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.8088, allocations: 8.656 kB / 0.9534 GB, free: 6.387 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.8089, allocations: 22.59 kB / 0.9534 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.8091, allocations: 260.3 kB / 0.9536 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.8091, allocations: 1.406 kB / 0.9537 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.8091, allocations: 6.25 kB / 0.9537 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.8093, allocations: 82.53 kB / 0.9537 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.8094, allocations: 0 / 0.9537 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.8094, allocations: 5.188 kB / 0.9537 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.8094, allocations: 0 / 0.9537 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.8096, allocations: 87.42 kB / 0.9538 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005005/0.8101, allocations: 394.8 kB / 0.9542 GB, free: 5.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.8103, allocations: 95.42 kB / 0.9543 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001042/0.8104, allocations: 45.42 kB / 0.9543 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.584e-05/0.8105, allocations: 16.7 kB / 0.9544 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.8105, allocations: 35.81 kB / 0.9544 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.8105, allocations: 0 / 0.9544 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004132/0.8109, allocations: 174.8 kB / 0.9546 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.772e-05/0.8109, allocations: 51.41 kB / 0.9546 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000312/0.8113, allocations: 356.9 kB / 0.9549 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.8113, allocations: 31.11 kB / 0.955 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.8113, allocations: 139.9 kB / 0.9551 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.087e-05/0.8114, allocations: 1.438 kB / 0.9551 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.8114, allocations: 30.42 kB / 0.9551 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.175e-05/0.8115, allocations: 347.4 kB / 0.9555 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.8116, allocations: 93.89 kB / 0.9556 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.8117, allocations: 96.36 kB / 0.9556 GB, free: 4.668 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002578/0.812, allocations: 203.3 kB / 0.9558 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.812, allocations: 5.281 kB / 0.9558 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003387/0.8124, allocations: 251.6 kB / 0.9561 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.8124, allocations: 9.5 kB / 0.9561 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.8124, allocations: 0 / 0.9561 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.8124, allocations: 1.188 kB / 0.9561 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.018e-05/0.8125, allocations: 13.56 kB / 0.9561 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.8125, allocations: 5.031 kB / 0.9561 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.41e-05/0.8126, allocations: 12.34 kB / 0.9561 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.8126, allocations: 5.062 kB / 0.9561 GB, free: 4.473 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 9.111e-05/0.8127, allocations: 151 kB / 0.9563 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.694e-05/0.8127, allocations: 19.75 kB / 0.9563 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.813, allocations: 140 kB / 0.9564 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.8131, allocations: 0 / 0.9564 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.8131, allocations: 4 kB / 0.9564 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.8131, allocations: 1.375 kB / 0.9564 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.8133, allocations: 247.6 kB / 0.9567 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.51e-07/0.8133, allocations: 0 / 0.9567 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.379e-05/0.8133, allocations: 10.14 kB / 0.9567 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.8133, allocations: 0 / 0.9567 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.8133, allocations: 1.469 kB / 0.9567 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.8134, allocations: 0 / 0.9567 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8134, allocations: 3.938 kB / 0.9567 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.8136, allocations: 242.6 kB / 0.9569 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.8137, allocations: 100.5 kB / 0.957 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.266e-05/0.8137, allocations: 0.9688 kB / 0.957 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.326e-05/0.8138, allocations: 7.141 kB / 0.957 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.48e-05/0.8138, allocations: 2.25 kB / 0.957 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-06/0.8138, allocations: 0 / 0.957 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000209/0.8141, allocations: 252.7 kB / 0.9573 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8141, allocations: 1.375 kB / 0.9573 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003805/0.8144, allocations: 71.03 kB / 0.9573 GB, free: 3.562 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.0002676/0.8147, allocations: 154.1 kB / 0.9575 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003227/0.8151, allocations: 161.8 kB / 0.9576 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.8151, allocations: 4.719 kB / 0.9576 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.8152, allocations: 41.47 kB / 0.9577 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.8155, allocations: 22.14 kB / 0.9577 GB, free: 3.367 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000601/0.8161, allocations: 440.5 kB / 0.9581 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001604/0.8163, allocations: 0.7405 MB / 0.9588 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.518e-05/0.8164, allocations: 13 kB / 0.9589 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.8164, allocations: 0 / 0.9589 GB, free: 2.336 MB / 0.7169 GB Notification: Performance of Templates: time 0.004197/0.8206, allocations: 2.403 MB / 0.9612 GB, free: 1.121 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/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