Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001878/0.001878, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001949/0.001949, allocations: 161.3 kB / 23.56 MB, free: 0.8672 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.566/1.566, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.013/3.013, allocations: 377.8 MB / 0.6232 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0.6562 kB / 0.8108 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.875e-05/3.047e-05, allocations: 6.25 kB / 0.8108 GB, free: 0.9883 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003133/0.003163, allocations: 1.494 MB / 0.8123 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.004858, allocations: 0.7858 MB / 0.813 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.004903, allocations: 3.938 kB / 0.813 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0002775/0.00518, allocations: 134.1 kB / 0.8132 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0006337/0.005814, allocations: 185 kB / 0.8133 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001958/0.00601, allocations: 72.89 kB / 0.8134 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.00614, allocations: 75.8 kB / 0.8135 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.197e-05/0.006212, allocations: 1.375 kB / 0.8135 GB, free: 14.26 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.111e-05/0.006303, allocations: 47.88 kB / 0.8135 GB, free: 14.21 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.00645, allocations: 87.83 kB / 0.8136 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.978e-05/0.00647, allocations: 4 kB / 0.8136 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004926/0.006962, allocations: 241.4 kB / 0.8138 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.007113, allocations: 107.7 kB / 0.8139 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.052e-05/0.007184, allocations: 43.78 kB / 0.814 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005504/0.007734, allocations: 354.9 kB / 0.8143 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.007737, allocations: 1.188 kB / 0.8143 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.21e-07/0.007738, allocations: 0 / 0.8143 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.007743, allocations: 0 / 0.8143 GB, free: 13.39 MB / 0.7292 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.0008828/0.008626, allocations: 0.6053 MB / 0.8149 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.008661, allocations: 8.031 kB / 0.8149 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.658e-05/0.008737, allocations: 36.7 kB / 0.815 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003561/0.009093, allocations: 242.9 kB / 0.8152 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.797e-05/0.009111, allocations: 10.91 kB / 0.8152 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.009122, allocations: 4.375 kB / 0.8152 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.009265, allocations: 46.23 kB / 0.8153 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.009273, allocations: 192 / 0.8153 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.009284, allocations: 4.359 kB / 0.8153 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.00929, allocations: 3.938 kB / 0.8153 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.009399, allocations: 24.64 kB / 0.8153 GB, free: 12.36 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.009978, allocations: 375.8 kB / 0.8156 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.0101, allocations: 39.53 kB / 0.8157 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.218e-05/0.01017, allocations: 25.39 kB / 0.8157 GB, free: 11.88 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.01023, allocations: 19.98 kB / 0.8157 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.21e-05/0.01027, allocations: 41.33 kB / 0.8158 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.01027, allocations: 0.5625 kB / 0.8158 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003328/0.0106, allocations: 90.86 kB / 0.8159 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.01065, allocations: 55.34 kB / 0.8159 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005493/0.0112, allocations: 482.7 kB / 0.8164 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.01122, allocations: 26.2 kB / 0.8164 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.01163, allocations: 223.8 kB / 0.8166 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.01165, allocations: 11.94 kB / 0.8166 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.591e-05/0.01172, allocations: 47.38 kB / 0.8167 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002961/0.01202, allocations: 0.5283 MB / 0.8172 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.01211, allocations: 27.98 kB / 0.8172 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.39e-05/0.01218, allocations: 30.59 kB / 0.8172 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.01233, allocations: 65.83 kB / 0.8173 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.01233, allocations: 0 / 0.8173 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002766/0.01261, allocations: 140.2 kB / 0.8174 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.01263, allocations: 10.12 kB / 0.8174 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01263, allocations: 3.984 kB / 0.8174 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.01265, allocations: 6.625 kB / 0.8174 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001232/0.01277, allocations: 24 kB / 0.8175 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.01278, allocations: 0 / 0.8175 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.612e-05/0.01284, allocations: 19.88 kB / 0.8175 GB, free: 9.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.01285, allocations: 0 / 0.8175 GB, free: 9.98 MB / 0.7292 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 (15): * Single equations (assignments): 15 * 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 prepare postOptimizeDAE: time 0.0001252/0.01298, allocations: 160.6 kB / 0.8176 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/0.01303, allocations: 37.34 kB / 0.8177 GB, free: 9.777 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.01324, allocations: 83.92 kB / 0.8178 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01324, allocations: 0 / 0.8178 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.01325, allocations: 0.5 kB / 0.8178 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.01325, allocations: 0 / 0.8178 GB, free: 9.684 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.01354, allocations: 225.1 kB / 0.818 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01354, allocations: 1.906 kB / 0.818 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.845e-05/0.01359, allocations: 8 kB / 0.818 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01359, allocations: 3.938 kB / 0.818 GB, free: 9.418 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.0136, allocations: 7.922 kB / 0.818 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.0136, allocations: 0 / 0.818 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0136, allocations: 1.344 kB / 0.818 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.01388, allocations: 231.7 kB / 0.8182 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.01398, allocations: 35.8 kB / 0.8183 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.01401, allocations: 4.781 kB / 0.8183 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.465e-05/0.01408, allocations: 4 kB / 0.8183 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.093e-05/0.01412, allocations: 4.641 kB / 0.8183 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.01413, allocations: 3.688 kB / 0.8183 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003484/0.01448, allocations: 311.1 kB / 0.8186 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01448, allocations: 0 / 0.8186 GB, free: 8.816 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003552/0.01483, allocations: 79.92 kB / 0.8186 GB, free: 8.738 MB / 0.7292 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.0003498/0.01518, allocations: 163.1 kB / 0.8188 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002341/0.01541, allocations: 67.59 kB / 0.8189 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01542, allocations: 0 / 0.8189 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.356e-05/0.01549, allocations: 25.45 kB / 0.8189 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.01579, allocations: 25.44 kB / 0.8189 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.01652, allocations: 450.8 kB / 0.8193 GB, free: 7.977 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.0167, allocations: 166.9 kB / 0.8195 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.521e-05/0.01675, allocations: 18.64 kB / 0.8195 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.696e-05/0.0168, allocations: 21.28 kB / 0.8195 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of SimCode: time 6.01e-07/0.0168, allocations: 0 / 0.8195 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of Templates: time 0.007425/0.02423, allocations: 2.884 MB / 0.8224 GB, free: 4.914 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.971745383925736]