Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.0008874/0.0008874, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.002015, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007357/0.0007357, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001255/0.001991, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9642/0.9642, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09883/1.063, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.841/1.841, allocations: 378.2 MB / 0.6076 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4975/2.339, allocations: 123.3 MB / 0.728 GB, free: 5.816 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7294 GB, free: 4.469 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/2.005e-05, allocations: 2.938 kB / 0.7294 GB, free: 4.465 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001289/0.001309, allocations: 0.6828 MB / 0.7301 GB, free: 3.809 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.002698, allocations: 1.431 MB / 0.7314 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.002728, allocations: 0 / 0.7314 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.22e-05/0.00277, allocations: 5.828 kB / 0.7315 GB, free: 2.367 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.208e-05/0.002802, allocations: 4.766 kB / 0.7315 GB, free: 2.363 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.003352, allocations: 160.7 kB / 0.7316 GB, free: 2.207 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.003474, allocations: 48.36 kB / 0.7317 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.003508, allocations: 0 / 0.7317 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.003576, allocations: 30.38 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.583e-05/0.003642, allocations: 28.61 kB / 0.7317 GB, free: 2.109 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.003656, allocations: 4.656 kB / 0.7317 GB, free: 2.105 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003876/0.004044, allocations: 225.8 kB / 0.7319 GB, free: 1.887 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.942e-05/0.004083, allocations: 16.98 kB / 0.732 GB, free: 1.875 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.554e-05/0.004119, allocations: 14.72 kB / 0.732 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002673/0.004386, allocations: 187.5 kB / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-05/0.004402, allocations: 0 / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.004403, allocations: 0 / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.633e-05/0.00442, allocations: 0.9062 kB / 0.7321 GB, free: 1.68 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003914/0.004811, allocations: 355.6 kB / 0.7325 GB, free: 1.297 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.004844, allocations: 12.78 kB / 0.7325 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.004882, allocations: 8.938 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.524e-05/0.004977, allocations: 124.9 kB / 0.7326 GB, free: 1.133 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.004988, allocations: 4.375 kB / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.004997, allocations: 384 / 0.7326 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.005127, allocations: 107.5 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.005134, allocations: 192 / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-06/0.005141, allocations: 1.031 kB / 0.7327 GB, free: 1.012 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.005152, allocations: 7.938 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.171e-05/0.005204, allocations: 58.33 kB / 0.7328 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.005418, allocations: 69.56 kB / 0.7329 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.005496, allocations: 80.3 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.005545, allocations: 66.61 kB / 0.733 GB, free: 0.6914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.498e-06/0.00555, allocations: 3.938 kB / 0.733 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.005572, allocations: 34.56 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.005573, allocations: 0.6875 kB / 0.733 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.000222/0.005795, allocations: 219.6 kB / 0.7332 GB, free: 416 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.005821, allocations: 51.41 kB / 0.7333 GB, free: 352 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.086e-05/0.005912, allocations: 138.6 kB / 0.7334 GB, free: 200 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.005924, allocations: 26.23 kB / 0.7335 GB, free: 168 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.005955, allocations: 93.23 kB / 0.7335 GB, free: 72 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.005976, allocations: 15.91 kB / 0.7336 GB, free: 56 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.006021, allocations: 21.7 kB / 0.7336 GB, free: 28 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/0.006114, allocations: 327.5 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.316e-05/0.006207, allocations: 110.1 kB / 0.734 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.006277, allocations: 107.9 kB / 0.7341 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001421/0.006419, allocations: 197.6 kB / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006421, allocations: 0 / 0.7343 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001956/0.006617, allocations: 260.4 kB / 0.7345 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.258e-05/0.00667, allocations: 72.27 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.006674, allocations: 0 / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.686e-06/0.006683, allocations: 1.781 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.809e-06/0.006688, allocations: 0 / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.006694, allocations: 3.984 kB / 0.7346 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.011e-05/0.006774, allocations: 15.83 kB / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.006784, allocations: 4 kB / 0.7346 GB, free: 14.86 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 7.804e-05/0.006862, allocations: 151.6 kB / 0.7348 GB, free: 14.69 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.006878, allocations: 11.98 kB / 0.7348 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.701e-05/0.006895, allocations: 8.344 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.006897, allocations: 0.9062 kB / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.006898, allocations: 0 / 0.7348 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.006901, allocations: 4.75 kB / 0.7348 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.492e-05/0.006966, allocations: 73.83 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.006967, allocations: 0.9062 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.006967, allocations: 0 / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.082e-05/0.006978, allocations: 11.94 kB / 0.7349 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.00698, allocations: 0.5625 kB / 0.7349 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.006987, allocations: 4.688 kB / 0.7349 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.006988, allocations: 0 / 0.7349 GB, free: 14.56 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.006993, allocations: 9.141 kB / 0.7349 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.00716, allocations: 190.1 kB / 0.7351 GB, free: 14.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.007176, allocations: 7.984 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.181e-05/0.007208, allocations: 1.031 kB / 0.7351 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/0.00725, allocations: 12.08 kB / 0.7351 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.007257, allocations: 4 kB / 0.7351 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.503e-05/0.007282, allocations: 24.67 kB / 0.7351 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007282, allocations: 5.781 kB / 0.7351 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002588/0.007541, allocations: 71.86 kB / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002294/0.007771, allocations: 140.3 kB / 0.7353 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000261/0.008032, allocations: 325.9 kB / 0.7356 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.008035, allocations: 0 / 0.7356 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.499e-05/0.00812, allocations: 132.8 kB / 0.7358 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.982e-05/0.0082, allocations: 14.69 kB / 0.7358 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00027/0.00847, allocations: 209.6 kB / 0.736 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.797e-05/0.008508, allocations: 71.27 kB / 0.7361 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.661e-06/0.008514, allocations: 0 / 0.7361 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.00859, allocations: 67.36 kB / 0.7361 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.00859, allocations: 0 / 0.7361 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of Templates: time 0.004505/0.01309, allocations: 2.391 MB / 0.7384 GB, free: 10.84 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite/Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.028303149156272]