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.001384/0.001383, allocations: 106.1 kB / 15.98 MB, free: 5.891 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.001367/0.001367, allocations: 196.4 kB / 16.91 MB, free: 5.746 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.481/1.481, allocations: 222.9 MB / 240.6 MB, free: 4.543 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.52/2.52, allocations: 390.2 MB / 0.665 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 67.89 kB / 0.8127 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9307/0.9322, allocations: 140.4 MB / 0.9498 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.Interpolate): time 0.002744/0.935, allocations: 1.489 MB / 0.9512 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001258/0.9363, allocations: 0.8267 MB / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.9364, allocations: 0 / 0.952 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.9366, allocations: 131.3 kB / 0.9522 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.753e-05/0.9368, allocations: 67.45 kB / 0.9522 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000618/0.9374, allocations: 168.3 kB / 0.9524 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001061/0.9375, allocations: 61.02 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.237e-05/0.9375, allocations: 2.719 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.963e-05/0.9376, allocations: 39.72 kB / 0.9525 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.9377, allocations: 82.81 kB / 0.9526 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.571e-05/0.9378, allocations: 2.969 kB / 0.9526 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003458/0.9381, allocations: 229.5 kB / 0.9528 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.9382, allocations: 64.39 kB / 0.9528 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.557e-05/0.9383, allocations: 55.61 kB / 0.9529 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.9385, allocations: 192.1 kB / 0.9531 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.9386, allocations: 1.438 kB / 0.9531 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9386, allocations: 0 / 0.9531 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.9386, allocations: 0 / 0.9531 GB, free: 6.715 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.0005859/0.9392, allocations: 0.4942 MB / 0.9536 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.9392, allocations: 9.188 kB / 0.9536 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.782e-05/0.9393, allocations: 25.09 kB / 0.9536 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.9395, allocations: 266 kB / 0.9539 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.9395, allocations: 384 / 0.9539 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.9395, allocations: 13.41 kB / 0.9539 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.9397, allocations: 76.16 kB / 0.9539 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.9397, allocations: 3.938 kB / 0.9539 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.9397, allocations: 0 / 0.9539 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.9398, allocations: 1.062 kB / 0.9539 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002065/0.94, allocations: 83.25 kB / 0.954 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.9405, allocations: 403 kB / 0.9544 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.9406, allocations: 91.41 kB / 0.9545 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.9408, allocations: 45.42 kB / 0.9545 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.927e-05/0.9408, allocations: 17.27 kB / 0.9546 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.9408, allocations: 46.48 kB / 0.9546 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9408, allocations: 1.094 kB / 0.9546 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0004201/0.9413, allocations: 165.7 kB / 0.9548 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.9413, allocations: 52.41 kB / 0.9548 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003539/0.9417, allocations: 361.4 kB / 0.9552 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.9417, allocations: 29.7 kB / 0.9552 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.9418, allocations: 139.6 kB / 0.9553 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.08e-05/0.9418, allocations: 1.438 kB / 0.9553 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.9418, allocations: 27.89 kB / 0.9553 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.573e-05/0.9419, allocations: 342.5 kB / 0.9557 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.9421, allocations: 95.66 kB / 0.9558 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.9422, allocations: 94.61 kB / 0.9559 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.9425, allocations: 210.8 kB / 0.9561 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9425, allocations: 1.812 kB / 0.9561 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003579/0.9429, allocations: 248.3 kB / 0.9563 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.9429, allocations: 5.25 kB / 0.9563 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.9429, allocations: 0 / 0.9563 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.9429, allocations: 0.9375 kB / 0.9563 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.503e-05/0.943, allocations: 14.36 kB / 0.9563 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.943, allocations: 0 / 0.9563 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.498e-05/0.9431, allocations: 21.58 kB / 0.9563 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.9431, allocations: 1.281 kB / 0.9563 GB, free: 4.32 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.0001007/0.9432, allocations: 145.8 kB / 0.9565 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.808e-05/0.9433, allocations: 19.44 kB / 0.9565 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002789/0.9435, allocations: 144.3 kB / 0.9566 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.9436, allocations: 32 / 0.9566 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.9436, allocations: 5.188 kB / 0.9566 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9436, allocations: 0 / 0.9566 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.9438, allocations: 252.6 kB / 0.9569 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9438, allocations: 0 / 0.9569 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.481e-05/0.9439, allocations: 13.55 kB / 0.9569 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.9439, allocations: 0 / 0.9569 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.166e-06/0.9439, allocations: 1.969 kB / 0.9569 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.9439, allocations: 0 / 0.9569 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.9439, allocations: 4 kB / 0.9569 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.9442, allocations: 238.5 kB / 0.9571 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.656e-05/0.9442, allocations: 103.7 kB / 0.9572 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.9442, allocations: 1.312 kB / 0.9572 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.9443, allocations: 3.562 kB / 0.9572 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.97e-05/0.9444, allocations: 5.391 kB / 0.9572 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.9444, allocations: 1.094 kB / 0.9572 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002388/0.9446, allocations: 257 kB / 0.9575 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9446, allocations: 3.938 kB / 0.9575 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000356/0.945, allocations: 63.8 kB / 0.9575 GB, free: 3.402 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.000266/0.9453, allocations: 156.8 kB / 0.9577 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000332/0.9456, allocations: 159.9 kB / 0.9578 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.9456, allocations: 0 / 0.9578 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.9457, allocations: 49.53 kB / 0.9579 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.9461, allocations: 17.53 kB / 0.9579 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.9468, allocations: 446 kB / 0.9583 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002066/0.947, allocations: 0.7405 MB / 0.9591 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.947, allocations: 17.22 kB / 0.9591 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/0.947, allocations: 0.6875 kB / 0.9591 GB, free: 2.164 MB / 0.7169 GB Notification: Performance of Templates: time 0.004697/0.9517, allocations: 2.408 MB / 0.9614 GB, free: 0.9492 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) Reference file matches