Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 200.7 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 225.6 MB / 250.9 MB, free: 13.26 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.144/3.144, allocations: 497.2 MB / 0.7845 GB, free: 33.58 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 70.22 kB / 1.139 GB, free: 33.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 173.9 MB / 1.309 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.002633/0.332, allocations: 1.483 MB / 1.311 GB, free: 14.45 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00141/0.3335, allocations: 0.7907 MB / 1.311 GB, free: 13.65 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.3335, allocations: 4 kB / 1.311 GB, free: 13.64 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0002461/0.3338, allocations: 127.8 kB / 1.312 GB, free: 13.52 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0005702/0.3343, allocations: 185.9 kB / 1.312 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001722/0.3345, allocations: 71.8 kB / 1.312 GB, free: 13.27 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3346, allocations: 67.86 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/0.3347, allocations: 3.938 kB / 1.312 GB, free: 13.2 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 5.764e-05/0.3347, allocations: 47.81 kB / 1.312 GB, free: 13.15 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.3349, allocations: 91.77 kB / 1.312 GB, free: 13.06 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.3349, allocations: 8 kB / 1.312 GB, free: 13.05 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003899/0.3353, allocations: 235.7 kB / 1.312 GB, free: 12.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001326/0.3354, allocations: 107.7 kB / 1.312 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.497e-05/0.3355, allocations: 79.28 kB / 1.312 GB, free: 12.64 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004112/0.3359, allocations: 322.7 kB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3359, allocations: 4 kB / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3359, allocations: 0 / 1.313 GB, free: 12.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3359, allocations: 0 / 1.313 GB, free: 12.32 MB / 1.014 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.0008345/0.3367, allocations: 0.5755 MB / 1.313 GB, free: 11.7 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3368, allocations: 12.62 kB / 1.313 GB, free: 11.68 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.805e-05/0.3368, allocations: 28.75 kB / 1.313 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004478/0.3373, allocations: 378.7 kB / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.3373, allocations: 384 / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.3373, allocations: 384 / 1.314 GB, free: 11.25 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.3375, allocations: 85.97 kB / 1.314 GB, free: 11.16 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.3375, allocations: 11.81 kB / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.3375, allocations: 0 / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3375, allocations: 0 / 1.314 GB, free: 11.15 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.3378, allocations: 111.9 kB / 1.314 GB, free: 11.04 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006168/0.3384, allocations: 460.6 kB / 1.314 GB, free: 10.54 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.3386, allocations: 106.5 kB / 1.314 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001228/0.3387, allocations: 52.88 kB / 1.315 GB, free: 10.38 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 5.267e-05/0.3388, allocations: 27.98 kB / 1.315 GB, free: 10.35 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.3388, allocations: 34.5 kB / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3388, allocations: 0 / 1.315 GB, free: 10.3 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0005102/0.3393, allocations: 213.4 kB / 1.315 GB, free: 10.09 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.981e-05/0.3394, allocations: 51.41 kB / 1.315 GB, free: 10.03 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.3399, allocations: 0.5329 MB / 1.315 GB, free: 9.484 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.34, allocations: 25.7 kB / 1.315 GB, free: 9.453 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.3401, allocations: 156.1 kB / 1.316 GB, free: 9.297 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.3401, allocations: 15.94 kB / 1.316 GB, free: 9.281 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.3402, allocations: 37.67 kB / 1.316 GB, free: 9.238 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001691/0.3403, allocations: 342.8 kB / 1.316 GB, free: 8.895 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.3405, allocations: 95.94 kB / 1.316 GB, free: 8.801 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.3407, allocations: 103.8 kB / 1.316 GB, free: 8.699 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000336/0.341, allocations: 183.4 kB / 1.316 GB, free: 8.52 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.341, allocations: 0 / 1.316 GB, free: 8.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000464/0.3415, allocations: 261.4 kB / 1.317 GB, free: 8.258 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.3415, allocations: 5.25 kB / 1.317 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3415, allocations: 0 / 1.317 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.3415, allocations: 0 / 1.317 GB, free: 8.254 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.3417, allocations: 39.91 kB / 1.317 GB, free: 8.215 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.3417, allocations: 3.984 kB / 1.317 GB, free: 8.211 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.413e-05/0.3418, allocations: 11.94 kB / 1.317 GB, free: 8.199 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.3418, allocations: 4 kB / 1.317 GB, free: 8.195 MB / 1.014 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.0001701/0.342, allocations: 173.7 kB / 1.317 GB, free: 8.016 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.898e-05/0.342, allocations: 27.81 kB / 1.317 GB, free: 7.988 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003471/0.3424, allocations: 175.7 kB / 1.317 GB, free: 7.809 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3424, allocations: 4 kB / 1.317 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3424, allocations: 0 / 1.317 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3424, allocations: 0 / 1.317 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.3427, allocations: 281.4 kB / 1.317 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.3427, allocations: 0 / 1.317 GB, free: 7.48 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.298e-05/0.3428, allocations: 12 kB / 1.317 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3428, allocations: 0 / 1.317 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3428, allocations: 4 kB / 1.317 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3428, allocations: 3.984 kB / 1.317 GB, free: 7.461 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3428, allocations: 7.969 kB / 1.317 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.3431, allocations: 255.2 kB / 1.317 GB, free: 7.188 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.3433, allocations: 116.9 kB / 1.318 GB, free: 7.055 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.02e-05/0.3433, allocations: 3.984 kB / 1.318 GB, free: 7.051 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.409e-05/0.3434, allocations: 4 kB / 1.318 GB, free: 7.047 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.3434, allocations: 7.969 kB / 1.318 GB, free: 7.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3434, allocations: 0 / 1.318 GB, free: 7.039 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00042/0.3438, allocations: 403 kB / 1.318 GB, free: 6.648 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3438, allocations: 0 / 1.318 GB, free: 6.648 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003883/0.3442, allocations: 79.92 kB / 1.318 GB, free: 6.57 MB / 1.014 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.0003004/0.3445, allocations: 147.1 kB / 1.318 GB, free: 6.418 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003886/0.3449, allocations: 163.9 kB / 1.318 GB, free: 6.258 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.3449, allocations: 0 / 1.318 GB, free: 6.258 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.345, allocations: 55.91 kB / 1.318 GB, free: 6.203 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.3454, allocations: 17.5 kB / 1.318 GB, free: 6.18 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008448/0.3462, allocations: 0.5433 MB / 1.319 GB, free: 5.609 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.3467, allocations: 0.7749 MB / 1.32 GB, free: 4.809 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 5.996e-05/0.3467, allocations: 30.53 kB / 1.32 GB, free: 4.781 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.3468, allocations: 19.44 kB / 1.32 GB, free: 4.762 MB / 1.014 GB Notification: Performance of SimCode: time 5.41e-07/0.3468, allocations: 4 kB / 1.32 GB, free: 4.758 MB / 1.014 GB Notification: Performance of Templates: time 0.006765/0.3535, allocations: 2.803 MB / 1.323 GB, free: 1.961 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=800 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.674914312083274]