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.00154/0.00154, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.00196/0.00196, allocations: 193.1 kB / 16.14 MB, free: 6.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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.609 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.329/2.329, allocations: 390.2 MB / 0.6642 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 67.91 kB / 0.8119 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6482/0.6496, allocations: 140.3 MB / 0.9489 GB, free: 9.242 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002521/0.6522, allocations: 1.508 MB / 0.9504 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.6534, allocations: 0.8358 MB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.6535, allocations: 1.312 kB / 0.9512 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002364/0.6537, allocations: 137.7 kB / 0.9513 GB, free: 7.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.348e-05/0.6538, allocations: 72.81 kB / 0.9514 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004778/0.6543, allocations: 135.9 kB / 0.9515 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.745e-05/0.6544, allocations: 58.11 kB / 0.9516 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.955e-05/0.6544, allocations: 17.69 kB / 0.9516 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.19e-05/0.6545, allocations: 32.09 kB / 0.9516 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.6546, allocations: 84.5 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.6546, allocations: 1 kB / 0.9517 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.655, allocations: 213.5 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.803e-05/0.6551, allocations: 69.11 kB / 0.952 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.6551, allocations: 55.55 kB / 0.952 GB, free: 6.961 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002999/0.6554, allocations: 263.9 kB / 0.9523 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.6555, allocations: 5.281 kB / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.62e-07/0.6555, allocations: 0 / 0.9523 GB, free: 6.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.609e-06/0.6555, allocations: 0 / 0.9523 GB, free: 6.805 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.0005832/0.6561, allocations: 0.4981 MB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.6561, allocations: 9.281 kB / 0.9528 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.6562, allocations: 24.81 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.6564, allocations: 269.9 kB / 0.9531 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.6564, allocations: 4.359 kB / 0.9531 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.6564, allocations: 5.531 kB / 0.9531 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.6566, allocations: 79.47 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.6566, allocations: 1 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.6566, allocations: 0 / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.6566, allocations: 1.031 kB / 0.9532 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.6568, allocations: 86.58 kB / 0.9532 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.6573, allocations: 399.8 kB / 0.9536 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.6575, allocations: 90.62 kB / 0.9537 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.6576, allocations: 49.5 kB / 0.9538 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.879e-05/0.6576, allocations: 17.36 kB / 0.9538 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.6577, allocations: 35.91 kB / 0.9538 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.6577, allocations: 4 kB / 0.9538 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000407/0.6581, allocations: 170.4 kB / 0.954 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.6581, allocations: 55.34 kB / 0.954 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/0.6584, allocations: 357.8 kB / 0.9544 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.6584, allocations: 25.7 kB / 0.9544 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.6585, allocations: 136.2 kB / 0.9545 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.044e-05/0.6585, allocations: 4.125 kB / 0.9545 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.6585, allocations: 27.89 kB / 0.9546 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.113e-05/0.6586, allocations: 343 kB / 0.9549 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.6588, allocations: 95.16 kB / 0.955 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.6589, allocations: 92.05 kB / 0.9551 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002701/0.6592, allocations: 210.5 kB / 0.9553 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6592, allocations: 4 kB / 0.9553 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003261/0.6595, allocations: 252.4 kB / 0.9555 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.6596, allocations: 5.562 kB / 0.9555 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.6596, allocations: 0 / 0.9555 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.6596, allocations: 5.75 kB / 0.9555 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.6597, allocations: 9.391 kB / 0.9555 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.6597, allocations: 0 / 0.9555 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.6598, allocations: 21.2 kB / 0.9555 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.6598, allocations: 5.828 kB / 0.9555 GB, free: 4.402 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.752e-05/0.6599, allocations: 147 kB / 0.9557 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.646e-05/0.6599, allocations: 19.53 kB / 0.9557 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.6602, allocations: 139.4 kB / 0.9558 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.6602, allocations: 0 / 0.9558 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.6602, allocations: 0 / 0.9558 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.6602, allocations: 5.406 kB / 0.9558 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.6604, allocations: 247.1 kB / 0.9561 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.6604, allocations: 3.938 kB / 0.9561 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.716e-05/0.6605, allocations: 10.86 kB / 0.9561 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.6605, allocations: 0 / 0.9561 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.6605, allocations: 5.375 kB / 0.9561 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6605, allocations: 0 / 0.9561 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6605, allocations: 0 / 0.9561 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.6608, allocations: 239.3 kB / 0.9563 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.8e-05/0.6608, allocations: 103.2 kB / 0.9564 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.6608, allocations: 1 kB / 0.9564 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.414e-05/0.6609, allocations: 3.438 kB / 0.9564 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.753e-05/0.661, allocations: 6.297 kB / 0.9564 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.661, allocations: 0 / 0.9564 GB, free: 3.652 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002109/0.6612, allocations: 249.5 kB / 0.9567 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6612, allocations: 4.031 kB / 0.9567 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003683/0.6616, allocations: 71.83 kB / 0.9567 GB, free: 3.492 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.0002638/0.6619, allocations: 152.9 kB / 0.9569 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003106/0.6622, allocations: 159.2 kB / 0.957 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.6622, allocations: 0 / 0.957 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.6623, allocations: 49.7 kB / 0.9571 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003302/0.6626, allocations: 21.5 kB / 0.9571 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005474/0.6632, allocations: 409.3 kB / 0.9575 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001543/0.6634, allocations: 0.7403 MB / 0.9582 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.229e-05/0.6634, allocations: 16.05 kB / 0.9582 GB, free: 2.305 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.971e-05/0.6634, allocations: 12.97 kB / 0.9583 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.6634, allocations: 0 / 0.9583 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of Templates: time 0.004667/0.6681, allocations: 2.013 MB / 0.9602 GB, free: 1.301 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/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