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.001503/0.001503, allocations: 98.75 kB / 16.27 MB, free: 5.969 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.001502/0.001502, allocations: 193.8 kB / 17.2 MB, free: 5.594 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.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 15.28 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.323/2.323, allocations: 390.3 MB / 0.6653 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 67.08 kB / 0.8132 GB, free: 33.19 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3196, allocations: 140.4 MB / 0.9503 GB, free: 8.875 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.003574/0.3232, allocations: 1.434 MB / 0.9517 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3249, allocations: 0.8209 MB / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.325, allocations: 0 / 0.9525 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002671/0.3252, allocations: 135.7 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.3254, allocations: 71.81 kB / 0.9527 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008468/0.3263, allocations: 195.2 kB / 0.9529 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.00014/0.3264, allocations: 55.89 kB / 0.9529 GB, free: 6.152 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.155e-05/0.3265, allocations: 4 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.3266, allocations: 43.88 kB / 0.9529 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001379/0.3267, allocations: 75.86 kB / 0.953 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.3268, allocations: 4 kB / 0.953 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004759/0.3272, allocations: 219.7 kB / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001144/0.3274, allocations: 67.8 kB / 0.9533 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.3274, allocations: 55.48 kB / 0.9534 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.3279, allocations: 279.4 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.328, allocations: 4 kB / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.034e-06/0.328, allocations: 0 / 0.9536 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.328, allocations: 0 / 0.9536 GB, free: 5.414 MB / 0.7325 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.0007964/0.3288, allocations: 0.4943 MB / 0.9541 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3288, allocations: 8.031 kB / 0.9541 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.233e-05/0.3289, allocations: 24.66 kB / 0.9541 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3292, allocations: 267.7 kB / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.3292, allocations: 384 / 0.9544 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.3293, allocations: 4.125 kB / 0.9544 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.3295, allocations: 85.59 kB / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.3295, allocations: 0 / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3295, allocations: 0 / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3295, allocations: 0 / 0.9545 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000209/0.3297, allocations: 83.94 kB / 0.9546 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006313/0.3304, allocations: 400.6 kB / 0.9549 GB, free: 3.918 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.3306, allocations: 90.53 kB / 0.955 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3307, allocations: 44.89 kB / 0.9551 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 5.091e-05/0.3307, allocations: 19.92 kB / 0.9551 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.3308, allocations: 34.55 kB / 0.9551 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.3308, allocations: 4 kB / 0.9551 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0005656/0.3314, allocations: 177.3 kB / 0.9553 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3314, allocations: 51.41 kB / 0.9553 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/0.3319, allocations: 347.3 kB / 0.9557 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.3319, allocations: 29.64 kB / 0.9557 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.3321, allocations: 140 kB / 0.9558 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.579e-05/0.3321, allocations: 11.97 kB / 0.9558 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3321, allocations: 29.7 kB / 0.9559 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3323, allocations: 342.8 kB / 0.9562 GB, free: 2.555 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001596/0.3325, allocations: 95.94 kB / 0.9563 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.3326, allocations: 95.89 kB / 0.9564 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.3329, allocations: 211.3 kB / 0.9566 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3329, allocations: 4 kB / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003683/0.3333, allocations: 245.4 kB / 0.9568 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.3333, allocations: 4 kB / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.3334, allocations: 0 / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3334, allocations: 0 / 0.9568 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3335, allocations: 11.98 kB / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.3335, allocations: 0 / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.494e-05/0.3336, allocations: 19.73 kB / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/0.3336, allocations: 4 kB / 0.9569 GB, free: 1.871 MB / 0.7325 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.0001362/0.3337, allocations: 153.7 kB / 0.957 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.3338, allocations: 15.81 kB / 0.957 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.3341, allocations: 142.5 kB / 0.9572 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3341, allocations: 0 / 0.9572 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.3341, allocations: 0 / 0.9572 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.3341, allocations: 4.031 kB / 0.9572 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.3344, allocations: 249.4 kB / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3344, allocations: 0 / 0.9574 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.774e-05/0.3344, allocations: 7.984 kB / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3345, allocations: 0 / 0.9574 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.144e-06/0.3345, allocations: 4 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3345, allocations: 0 / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3345, allocations: 4 kB / 0.9574 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.3348, allocations: 239.2 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.381e-05/0.3349, allocations: 108.8 kB / 0.9577 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.029e-05/0.3349, allocations: 96 / 0.9577 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.331e-05/0.335, allocations: 4 kB / 0.9578 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.3351, allocations: 7.969 kB / 0.9578 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-06/0.3351, allocations: 0 / 0.9578 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002607/0.3353, allocations: 249.9 kB / 0.958 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3353, allocations: 4.031 kB / 0.958 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003893/0.3357, allocations: 71.98 kB / 0.9581 GB, free: 0.5312 MB / 0.7325 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.0003219/0.3361, allocations: 147.2 kB / 0.9582 GB, free: 384 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.3364, allocations: 167.8 kB / 0.9584 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3364, allocations: 0 / 0.9584 GB, free: 216 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.3365, allocations: 51.89 kB / 0.9584 GB, free: 164 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3369, allocations: 23.58 kB / 0.9584 GB, free: 140 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007116/0.3376, allocations: 401.6 kB / 0.9588 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.338, allocations: 0.7429 MB / 0.9596 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.338, allocations: 11.44 kB / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.338, allocations: 0 / 0.9596 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of Templates: time 0.005137/0.3432, allocations: 2.406 MB / 0.9619 GB, free: 12.55 MB / 0.7481 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