Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00143/0.00143, allocations: 84.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.001559/0.001559, allocations: 161.7 kB / 23.54 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.447/1.447, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.764/2.764, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_11_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_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.709e-05/2.86e-05, allocations: 13.61 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001659/0.001688, allocations: 0.6148 MB / 0.787 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002177/0.003865, allocations: 1.396 MB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.172e-05/0.003887, allocations: 0 / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 5.51e-05/0.003942, allocations: 0 / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.003979, allocations: 3.984 kB / 0.7884 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006684/0.004647, allocations: 183.3 kB / 0.7886 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001137/0.004761, allocations: 55.81 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.943e-05/0.00479, allocations: 4 kB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.402e-05/0.004844, allocations: 19.98 kB / 0.7887 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.004911, allocations: 27.91 kB / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.004927, allocations: 0 / 0.7887 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.005342, allocations: 212.6 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.005381, allocations: 7.938 kB / 0.7889 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.51e-05/0.005427, allocations: 15.98 kB / 0.7889 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003585/0.005785, allocations: 236.2 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005787, allocations: 0 / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005788, allocations: 2.469 kB / 0.7891 GB, free: 10 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.316e-06/0.005791, allocations: 0 / 0.7891 GB, free: 10 MB / 0.7448 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.0004942/0.006285, allocations: 369.2 kB / 0.7895 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.006319, allocations: 8.031 kB / 0.7895 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.006377, allocations: 16.88 kB / 0.7895 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.006501, allocations: 115.2 kB / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.006513, allocations: 384 / 0.7896 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.00653, allocations: 10.12 kB / 0.7896 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.006742, allocations: 123.8 kB / 0.7897 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.006748, allocations: 4.188 kB / 0.7898 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.006758, allocations: 384 / 0.7898 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.006764, allocations: 4.531 kB / 0.7898 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.006892, allocations: 89.64 kB / 0.7898 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.007047, allocations: 118.6 kB / 0.79 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.007218, allocations: 108.2 kB / 0.7901 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.007345, allocations: 94.58 kB / 0.7901 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.007355, allocations: 5.312 kB / 0.7902 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.007387, allocations: 34.56 kB / 0.7902 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.007388, allocations: 0 / 0.7902 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.0005057/0.007893, allocations: 316.4 kB / 0.7905 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/0.007962, allocations: 85.05 kB / 0.7906 GB, free: 8.348 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.008125, allocations: 147.4 kB / 0.7907 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.00815, allocations: 25.7 kB / 0.7907 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.008219, allocations: 96.08 kB / 0.7908 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.584e-05/0.008244, allocations: 17.09 kB / 0.7908 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.008305, allocations: 29.7 kB / 0.7909 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.00848, allocations: 318.8 kB / 0.7912 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.008692, allocations: 169.3 kB / 0.7913 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.008893, allocations: 175.3 kB / 0.7915 GB, free: 7.336 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.009314, allocations: 281.8 kB / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009316, allocations: 0 / 0.7918 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004882/0.009804, allocations: 384.3 kB / 0.7921 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.457e-05/0.009878, allocations: 77.97 kB / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.009882, allocations: 0 / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.009896, allocations: 0 / 0.7922 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-06/0.009902, allocations: 7.938 kB / 0.7922 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.009905, allocations: 0 / 0.7922 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.01003, allocations: 7.953 kB / 0.7922 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.01004, allocations: 7.938 kB / 0.7922 GB, free: 6.523 MB / 0.7448 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.0001423/0.01019, allocations: 160 kB / 0.7924 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.01021, allocations: 8.672 kB / 0.7924 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.01022, allocations: 8.344 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.01023, allocations: 0.6719 kB / 0.7924 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.01023, allocations: 5.594 kB / 0.7924 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.01023, allocations: 3.984 kB / 0.7924 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.01036, allocations: 125.2 kB / 0.7925 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01036, allocations: 0 / 0.7925 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.01e-07/0.01036, allocations: 0 / 0.7925 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.01036, allocations: 0.5938 kB / 0.7925 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.01037, allocations: 4.781 kB / 0.7925 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01038, allocations: 4 kB / 0.7925 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.01038, allocations: 1.156 kB / 0.7925 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.01074, allocations: 260.3 kB / 0.7928 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.315e-05/0.01075, allocations: 7.953 kB / 0.7928 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.01077, allocations: 0.875 kB / 0.7928 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.01082, allocations: 7.984 kB / 0.7928 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.335e-05/0.0109, allocations: 15.88 kB / 0.7928 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.01091, allocations: 8.797 kB / 0.7928 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.428e-05/0.01101, allocations: 105.8 kB / 0.7929 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01101, allocations: 1.281 kB / 0.7929 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003016/0.01131, allocations: 63.92 kB / 0.793 GB, free: 5.676 MB / 0.7448 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.000298/0.01161, allocations: 159.9 kB / 0.7931 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005374/0.01214, allocations: 421 kB / 0.7935 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01214, allocations: 0 / 0.7935 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/0.01233, allocations: 153 kB / 0.7937 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.01248, allocations: 5.312 kB / 0.7937 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004308/0.01291, allocations: 250.8 kB / 0.7939 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.783e-05/0.01299, allocations: 83.17 kB / 0.794 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.409e-06/0.013, allocations: 1.688 kB / 0.794 GB, free: 4.508 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.485e-05/0.01301, allocations: 12.44 kB / 0.794 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of SimCode: time 4.21e-07/0.01301, allocations: 0 / 0.794 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of Templates: time 0.005523/0.01854, allocations: 2.162 MB / 0.7961 GB, free: 2.363 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.560400187969208]