Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001699/0.001699, allocations: 104.3 kB / 19.7 MB, free: 2.008 MB / 14.72 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.001986/0.001986, allocations: 220.8 kB / 22.99 MB, free: 4.914 MB / 14.72 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.784/2.784, allocations: 476 MB / 0.7707 GB, free: 4.73 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings.Utilities.Math.Examples.Interpolate") translateModel(Buildings.Utilities.Math.Examples.Interpolate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|int.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Examples.Interpolate") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 70.95 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3355, allocations: 170 MB / 1.284 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Interpolate): time 0.003215/0.3387, allocations: 1.479 MB / 1.285 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.3403, allocations: 0.7613 MB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.668e-05/0.3404, allocations: 0 / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3406, allocations: 131.8 kB / 1.286 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0006908/0.3413, allocations: 189.9 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002112/0.3415, allocations: 75.73 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001352/0.3417, allocations: 67.88 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3418, allocations: 0 / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.114e-05/0.3419, allocations: 51.81 kB / 1.286 GB, free: 9.195 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.342, allocations: 87.83 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.323e-05/0.342, allocations: 4 kB / 1.287 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004877/0.3425, allocations: 243.6 kB / 1.287 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.3427, allocations: 103.7 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.87e-05/0.3428, allocations: 63.41 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005208/0.3433, allocations: 330.7 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3433, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3433, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3433, allocations: 0 / 1.287 GB, free: 8.379 MB / 0.9825 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.000896/0.3442, allocations: 0.508 MB / 1.288 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3442, allocations: 8.031 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.669e-05/0.3443, allocations: 28.75 kB / 1.288 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.3448, allocations: 332.7 kB / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.3448, allocations: 384 / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.047e-05/0.3448, allocations: 384 / 1.288 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.345, allocations: 85.97 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.345, allocations: 0 / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.345, allocations: 0 / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3451, allocations: 4 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/0.3453, allocations: 107.9 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006695/0.346, allocations: 400.4 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.3462, allocations: 102.5 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3463, allocations: 56.89 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.502e-05/0.3464, allocations: 23.97 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.3464, allocations: 38.5 kB / 1.289 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 4.268e-06/0.3464, allocations: 7.984 kB / 1.289 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0005058/0.3469, allocations: 205.4 kB / 1.289 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.347, allocations: 55.39 kB / 1.289 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006808/0.3476, allocations: 0.5367 MB / 1.29 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.3477, allocations: 25.7 kB / 1.29 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.3478, allocations: 156.1 kB / 1.29 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.458e-05/0.3478, allocations: 11.94 kB / 1.29 GB, free: 5.566 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.073e-05/0.3479, allocations: 37.8 kB / 1.29 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.3481, allocations: 350.8 kB / 1.29 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.3483, allocations: 91.94 kB / 1.29 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.3484, allocations: 95.88 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003153/0.3487, allocations: 180.7 kB / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3488, allocations: 0 / 1.291 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004521/0.3492, allocations: 272.1 kB / 1.291 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.3492, allocations: 8 kB / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.3492, allocations: 0 / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3492, allocations: 0 / 1.291 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.3494, allocations: 27.97 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.3494, allocations: 7.938 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.408e-05/0.3495, allocations: 11.94 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.3495, allocations: 0 / 1.291 GB, free: 4.484 MB / 0.9825 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.0001715/0.3497, allocations: 173.7 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.209e-05/0.3497, allocations: 31.81 kB / 1.291 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003393/0.3501, allocations: 167.8 kB / 1.291 GB, free: 4.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3501, allocations: 4 kB / 1.291 GB, free: 4.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3501, allocations: 3.938 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3501, allocations: 0 / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002622/0.3504, allocations: 221.2 kB / 1.291 GB, free: 3.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3504, allocations: 3.938 kB / 1.291 GB, free: 3.848 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.811e-05/0.3504, allocations: 7.984 kB / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3504, allocations: 32 / 1.291 GB, free: 3.84 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.3504, allocations: 4 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3504, allocations: 4 kB / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3504, allocations: 0 / 1.291 GB, free: 3.832 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.3508, allocations: 255.2 kB / 1.292 GB, free: 3.566 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.3509, allocations: 43.73 kB / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.3509, allocations: 0 / 1.292 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/0.351, allocations: 4 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3511, allocations: 7.984 kB / 1.292 GB, free: 3.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3511, allocations: 4.031 kB / 1.292 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004687/0.3515, allocations: 395.1 kB / 1.292 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3515, allocations: 3.938 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003837/0.3519, allocations: 83.86 kB / 1.292 GB, free: 3.039 MB / 0.9825 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.0003083/0.3522, allocations: 155.1 kB / 1.292 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.3526, allocations: 151.9 kB / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3526, allocations: 0 / 1.293 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3527, allocations: 63.89 kB / 1.293 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003937/0.3531, allocations: 21.44 kB / 1.293 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009352/0.3541, allocations: 0.5217 MB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001888/0.3542, allocations: 161.5 kB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.3543, allocations: 19.44 kB / 1.293 GB, free: 1.895 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3543, allocations: 4 kB / 1.293 GB, free: 1.891 MB / 0.9825 GB Notification: Performance of Templates: time 0.007499/0.3618, allocations: 3.457 MB / 1.297 GB, free: 14.45 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.Interpolate -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.Interpolate.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.Interpolate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_Interpolate.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.846298144664615]