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.006944/0.006944, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001673/0.001674, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.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.397/2.397, allocations: 390.2 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001261, allocations: 59.47 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.3124, allocations: 140.4 MB / 1.088 GB, free: 1.441 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.003462/0.316, allocations: 1.427 MB / 1.089 GB, free: 4 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001795/0.3178, allocations: 0.8203 MB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.951e-05/0.3179, allocations: 0 / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002811/0.3182, allocations: 135.8 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.3183, allocations: 71.81 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008152/0.3191, allocations: 185.4 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001263/0.3193, allocations: 63.75 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.516e-05/0.3193, allocations: 8 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.879e-05/0.3194, allocations: 35.95 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3195, allocations: 79.84 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.352e-05/0.3196, allocations: 4 kB / 1.091 GB, free: 14.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004687/0.3201, allocations: 227.7 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000112/0.3202, allocations: 59.83 kB / 1.091 GB, free: 14.33 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.3203, allocations: 55.48 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.3207, allocations: 279.1 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3207, allocations: 3.938 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.462e-06/0.3207, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3207, allocations: 4 kB / 1.091 GB, free: 13.99 MB / 0.8575 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.0007193/0.3214, allocations: 0.506 MB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.568e-05/0.3215, allocations: 12.03 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.939e-05/0.3216, allocations: 20.66 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.3219, allocations: 251.8 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3219, allocations: 384 / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.3219, allocations: 7.938 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3221, allocations: 77.66 kB / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.3221, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.3222, allocations: 0 / 1.092 GB, free: 13.03 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3222, allocations: 4 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002153/0.3224, allocations: 83.92 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.323, allocations: 400.6 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.3232, allocations: 94.52 kB / 1.093 GB, free: 12.4 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3233, allocations: 48.89 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.641e-05/0.3233, allocations: 23.73 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.3234, allocations: 30.56 kB / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3234, allocations: 0 / 1.093 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0004302/0.3238, allocations: 185.2 kB / 1.093 GB, free: 12.1 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.019e-05/0.3238, allocations: 51.41 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003192/0.3242, allocations: 351.3 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.3242, allocations: 25.7 kB / 1.093 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.3243, allocations: 140 kB / 1.094 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.67e-05/0.3243, allocations: 11.84 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.3244, allocations: 29.83 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3245, allocations: 338.8 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.3247, allocations: 95.88 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.3248, allocations: 103.9 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002895/0.3251, allocations: 200.8 kB / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3251, allocations: 0 / 1.094 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003363/0.3255, allocations: 263.1 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.3255, allocations: 8 kB / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.3255, allocations: 0 / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.3255, allocations: 0 / 1.095 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.055e-05/0.3256, allocations: 7.984 kB / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.3256, allocations: 0 / 1.095 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.188e-05/0.3257, allocations: 15.84 kB / 1.095 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.3257, allocations: 0 / 1.095 GB, free: 10.44 MB / 0.8575 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.000112/0.3258, allocations: 149.7 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.3259, allocations: 23.66 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.3261, allocations: 150.5 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3262, allocations: 4 kB / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.3262, allocations: 0 / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.3262, allocations: 0 / 1.095 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.3264, allocations: 241.5 kB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3264, allocations: 0 / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.3265, allocations: 12.03 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.3265, allocations: 0 / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.3265, allocations: 3.984 kB / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3265, allocations: 0 / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.3265, allocations: 0 / 1.095 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.3268, allocations: 231.2 kB / 1.095 GB, free: 9.559 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.141e-05/0.3269, allocations: 104.8 kB / 1.095 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.887e-05/0.3269, allocations: 0 / 1.095 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.327, allocations: 11.98 kB / 1.095 GB, free: 9.426 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.662e-05/0.3271, allocations: 4 kB / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.3271, allocations: 0 / 1.095 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002159/0.3273, allocations: 249.9 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3273, allocations: 0 / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003272/0.3276, allocations: 71.92 kB / 1.096 GB, free: 9.105 MB / 0.8575 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.0002636/0.3279, allocations: 159.7 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003097/0.3282, allocations: 160 kB / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3282, allocations: 0 / 1.096 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.3283, allocations: 43.97 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003081/0.3287, allocations: 16.59 kB / 1.096 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005513/0.3292, allocations: 376 kB / 1.096 GB, free: 8.332 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3295, allocations: 0.7353 MB / 1.097 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.3296, allocations: 20.55 kB / 1.097 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.3296, allocations: 11.44 kB / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3296, allocations: 0 / 1.097 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of Templates: time 0.004867/0.3345, allocations: 2.11 MB / 1.099 GB, free: 5.434 MB / 0.8575 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/jenkins/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