Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000818/0.000818, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001124/0.001124, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8721/0.8721, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.795/1.795, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.087e-05/3.308e-05, allocations: 2.281 kB / 1.001 GB, free: 12.95 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001751/0.001784, allocations: 0.6227 MB / 1.002 GB, free: 12.33 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001935/0.003718, allocations: 1.381 MB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.761e-05/0.003756, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 6.952e-05/0.003825, allocations: 0 / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.003875, allocations: 7.875 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008009/0.004676, allocations: 197.7 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.00481, allocations: 39.97 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.004858, allocations: 3.984 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.8e-05/0.004926, allocations: 31.91 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.004991, allocations: 19.97 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.005007, allocations: 4 kB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.00539, allocations: 203.7 kB / 1.003 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.697e-05/0.005447, allocations: 19.92 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.00549, allocations: 23.94 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003333/0.005823, allocations: 227.5 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.005826, allocations: 3.938 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.813e-06/0.005828, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.005834, allocations: 0 / 1.004 GB, free: 10.16 MB / 0.9636 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.0004606/0.006294, allocations: 365.3 kB / 1.004 GB, free: 9.766 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.006339, allocations: 8.75 kB / 1.004 GB, free: 9.758 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.963e-05/0.006388, allocations: 8.891 kB / 1.004 GB, free: 9.75 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.006508, allocations: 129.6 kB / 1.004 GB, free: 9.598 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.006523, allocations: 4.375 kB / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.356e-05/0.006537, allocations: 384 / 1.004 GB, free: 9.594 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002089/0.006746, allocations: 135.8 kB / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.006754, allocations: 192 / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.006766, allocations: 384 / 1.004 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.006773, allocations: 3.938 kB / 1.004 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.98e-05/0.006872, allocations: 89.66 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001413/0.007014, allocations: 117.3 kB / 1.004 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.007144, allocations: 108.2 kB / 1.005 GB, free: 9.086 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.887e-05/0.007243, allocations: 98.58 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.007252, allocations: 0 / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.007278, allocations: 34.5 kB / 1.005 GB, free: 8.938 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.007279, allocations: 4 kB / 1.005 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0004184/0.007697, allocations: 314.8 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.598e-05/0.007743, allocations: 85.05 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.007865, allocations: 143.8 kB / 1.005 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.007881, allocations: 33.64 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.705e-05/0.007928, allocations: 88.14 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.007953, allocations: 11.84 kB / 1.005 GB, free: 8.211 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.349e-05/0.008007, allocations: 33.7 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.739e-05/0.008104, allocations: 318.8 kB / 1.006 GB, free: 7.852 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.008267, allocations: 167.3 kB / 1.006 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.008409, allocations: 171.3 kB / 1.006 GB, free: 7.496 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002703/0.00868, allocations: 289.8 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.008682, allocations: 0 / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000367/0.009049, allocations: 392.2 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/0.009118, allocations: 75.38 kB / 1.007 GB, free: 6.691 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.009125, allocations: 4 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.009142, allocations: 0 / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.625e-06/0.009144, allocations: 3.938 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.009151, allocations: 0 / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.009334, allocations: 7.953 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.009348, allocations: 4 kB / 1.007 GB, free: 6.672 MB / 0.9636 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 0.0001028/0.009451, allocations: 155.6 kB / 1.007 GB, free: 6.504 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.009468, allocations: 7.984 kB / 1.007 GB, free: 6.496 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.009488, allocations: 8.344 kB / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.009492, allocations: 0 / 1.007 GB, free: 6.48 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/0.009498, allocations: 3.938 kB / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.009501, allocations: 3.938 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.845e-05/0.00959, allocations: 125.2 kB / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.009591, allocations: 0 / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.009592, allocations: 0 / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.009594, allocations: 0 / 1.007 GB, free: 6.32 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.009607, allocations: 8 kB / 1.007 GB, free: 6.312 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009609, allocations: 4 kB / 1.007 GB, free: 6.309 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.009612, allocations: 3.984 kB / 1.007 GB, free: 6.305 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.009971, allocations: 256.3 kB / 1.007 GB, free: 6.023 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.351e-05/0.009984, allocations: 8 kB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.01, allocations: 0 / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.744e-05/0.01006, allocations: 7.984 kB / 1.007 GB, free: 6.008 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.619e-05/0.01012, allocations: 11.94 kB / 1.007 GB, free: 5.996 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.01013, allocations: 4 kB / 1.007 GB, free: 5.992 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.404e-05/0.0102, allocations: 105 kB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.0102, allocations: 0 / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003366/0.01053, allocations: 71.95 kB / 1.008 GB, free: 5.82 MB / 0.9636 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.0002912/0.01082, allocations: 159 kB / 1.008 GB, free: 5.656 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000405/0.01123, allocations: 427.7 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01123, allocations: 0 / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01135, allocations: 157 kB / 1.008 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001729/0.01152, allocations: 4 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.01194, allocations: 269 kB / 1.008 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.135e-05/0.01201, allocations: 75.45 kB / 1.009 GB, free: 4.625 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.58e-05/0.01203, allocations: 12.5 kB / 1.009 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of SimCode: time 5.51e-07/0.01203, allocations: 0 / 1.009 GB, free: 4.613 MB / 0.9636 GB Notification: Performance of Templates: time 0.003676/0.0157, allocations: 1.701 MB / 1.01 GB, free: 2.918 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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: 6.776665746234357]