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.001778/0.001778, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002002/0.002002, allocations: 161.3 kB / 23.55 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.458/1.458, allocations: 177.1 MB / 203.9 MB, free: 5.586 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 2.895/2.895, allocations: 377.8 MB / 0.6232 GB, free: 8.52 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.843e-06/1.843e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.748e-05/2.933e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.086 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002983/0.003012, allocations: 1.485 MB / 0.8123 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001644/0.004656, allocations: 0.7614 MB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.731e-05/0.004704, allocations: 0 / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0002822/0.004986, allocations: 134.3 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0006708/0.005657, allocations: 193 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.005938, allocations: 80.47 kB / 0.8134 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.006073, allocations: 60.5 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.657e-05/0.00615, allocations: 11.97 kB / 0.8135 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002158/0.006365, allocations: 49.14 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001478/0.006513, allocations: 87.83 kB / 0.8136 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.006531, allocations: 4 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.007009, allocations: 233.4 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.007162, allocations: 111.7 kB / 0.8139 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.298e-05/0.007235, allocations: 43.78 kB / 0.814 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00057/0.007805, allocations: 347 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.007807, allocations: 0 / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.22e-07/0.007808, allocations: 5.281 kB / 0.8143 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.007814, allocations: 0 / 0.8143 GB, free: 14.52 MB / 0.7761 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.0008848/0.008699, allocations: 0.4969 MB / 0.8148 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.008737, allocations: 8.031 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.317e-05/0.00882, allocations: 41.86 kB / 0.8148 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004752/0.009295, allocations: 332 kB / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.009309, allocations: 384 / 0.8152 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.009321, allocations: 5.094 kB / 0.8152 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002147/0.009536, allocations: 82.75 kB / 0.8152 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.009545, allocations: 192 / 0.8152 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.009554, allocations: 2.438 kB / 0.8152 GB, free: 13.51 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.009561, allocations: 3.938 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.009811, allocations: 99.94 kB / 0.8153 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006298/0.01044, allocations: 397 kB / 0.8157 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.01066, allocations: 107.2 kB / 0.8158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.01079, allocations: 54.39 kB / 0.8159 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.148e-05/0.01085, allocations: 23.98 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.01089, allocations: 34.5 kB / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.01089, allocations: 0.625 kB / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0005967/0.01149, allocations: 219.1 kB / 0.8161 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.01155, allocations: 51.41 kB / 0.8162 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007361/0.01228, allocations: 0.5376 MB / 0.8167 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.01231, allocations: 25.7 kB / 0.8167 GB, free: 11.9 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.01246, allocations: 160.1 kB / 0.8169 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.01248, allocations: 5.234 kB / 0.8169 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.229e-05/0.01255, allocations: 41.7 kB / 0.8169 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002008/0.01275, allocations: 346.8 kB / 0.8173 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.01294, allocations: 92.91 kB / 0.8174 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001817/0.01312, allocations: 98.19 kB / 0.8174 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.01346, allocations: 170.2 kB / 0.8176 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.01346, allocations: 0 / 0.8176 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004965/0.01396, allocations: 284.7 kB / 0.8179 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.01398, allocations: 7.938 kB / 0.8179 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.01398, allocations: 0 / 0.8179 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.014, allocations: 0 / 0.8179 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.01416, allocations: 31.98 kB / 0.8179 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.01417, allocations: 0 / 0.8179 GB, free: 10.67 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.451e-05/0.01425, allocations: 11.92 kB / 0.8179 GB, free: 10.66 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.01427, allocations: 4 kB / 0.8179 GB, free: 10.65 MB / 0.7761 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.0001768/0.01444, allocations: 170.6 kB / 0.8181 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/0.01451, allocations: 39.69 kB / 0.8181 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003539/0.01486, allocations: 168.9 kB / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.01486, allocations: 1.594 kB / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.01487, allocations: 0 / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.01487, allocations: 0 / 0.8183 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002919/0.01516, allocations: 213.2 kB / 0.8185 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.01516, allocations: 0.9375 kB / 0.8185 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.69e-05/0.01523, allocations: 11.98 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.01523, allocations: 1.094 kB / 0.8185 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.01524, allocations: 3.938 kB / 0.8185 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.01525, allocations: 0 / 0.8185 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01525, allocations: 0.5938 kB / 0.8185 GB, free: 10.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003871/0.01563, allocations: 261 kB / 0.8188 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.01572, allocations: 43.75 kB / 0.8188 GB, free: 9.699 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.01575, allocations: 11.94 kB / 0.8188 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.01585, allocations: 3.969 kB / 0.8188 GB, free: 9.688 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.01589, allocations: 7.984 kB / 0.8188 GB, free: 9.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.0159, allocations: 3.984 kB / 0.8188 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005118/0.01641, allocations: 399.1 kB / 0.8192 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01641, allocations: 0 / 0.8192 GB, free: 9.285 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003942/0.0168, allocations: 75.92 kB / 0.8193 GB, free: 9.211 MB / 0.7761 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.0003791/0.01718, allocations: 171.1 kB / 0.8195 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.01756, allocations: 159.4 kB / 0.8196 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01756, allocations: 0 / 0.8196 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.0177, allocations: 57.02 kB / 0.8197 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.01805, allocations: 18.59 kB / 0.8197 GB, free: 8.812 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009219/0.01898, allocations: 0.5466 MB / 0.8202 GB, free: 8.242 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002051/0.01918, allocations: 169.8 kB / 0.8204 GB, free: 8.055 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.019e-05/0.01924, allocations: 30.64 kB / 0.8204 GB, free: 8.027 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.01929, allocations: 20.5 kB / 0.8204 GB, free: 8.008 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01929, allocations: 4 kB / 0.8204 GB, free: 8.004 MB / 0.7761 GB Notification: Performance of Templates: time 0.008013/0.02731, allocations: 2.881 MB / 0.8232 GB, free: 5.16 MB / 0.7761 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] 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.7497997409664094]