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.001807/0.001807, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.002182/0.002182, allocations: 161.8 kB / 23.02 MB, free: 4.945 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.418/1.418, allocations: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.725/2.725, allocations: 377.9 MB / 0.6228 GB, free: 12.61 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.00208/0.00208, allocations: 63.89 kB / 0.982 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7728, allocations: 176.1 MB / 1.154 GB, free: 33.35 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001493/0.7743, allocations: 0.6138 MB / 1.155 GB, free: 32.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001333/0.7757, allocations: 1.382 MB / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.002e-05/0.7757, allocations: 0 / 1.156 GB, free: 32.02 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 4.702e-05/0.7757, allocations: 3.938 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 3.392e-05/0.7758, allocations: 6.75 kB / 1.156 GB, free: 32.01 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005247/0.7763, allocations: 187.7 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 8.665e-05/0.7764, allocations: 44.03 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 2.961e-05/0.7764, allocations: 6.562 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 2.975e-05/0.7764, allocations: 28.77 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.7765, allocations: 18.72 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.7765, allocations: 2.844 kB / 1.156 GB, free: 31.91 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003041/0.7768, allocations: 219.5 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.7768, allocations: 9.031 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.183e-05/0.7769, allocations: 22.98 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.7771, allocations: 183.7 kB / 1.157 GB, free: 31.79 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.7771, allocations: 0 / 1.157 GB, free: 31.79 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.843e-06/0.7771, allocations: 2.875 kB / 1.157 GB, free: 31.79 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7771, allocations: 0 / 1.157 GB, free: 31.79 MB / 1.076 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.000299/0.7774, allocations: 370.3 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 2.677e-05/0.7774, allocations: 8.344 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.7774, allocations: 7.703 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.983e-05/0.7775, allocations: 116.1 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.7775, allocations: 3.25 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.7775, allocations: 6.375 kB / 1.157 GB, free: 31.29 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.7777, allocations: 133.7 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.7777, allocations: 0 / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.7777, allocations: 2.562 kB / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.316e-06/0.7777, allocations: 0 / 1.157 GB, free: 31.21 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.609e-05/0.7778, allocations: 93.02 kB / 1.157 GB, free: 31.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.908e-05/0.7779, allocations: 121.9 kB / 1.157 GB, free: 31.04 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 9.352e-05/0.778, allocations: 108.5 kB / 1.158 GB, free: 30.98 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.967e-05/0.778, allocations: 95.44 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.097e-06/0.778, allocations: 7.875 kB / 1.158 GB, free: 30.93 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.18e-05/0.778, allocations: 37 kB / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.778, allocations: 0 / 1.158 GB, free: 30.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=4): time 0.0003075/0.7784, allocations: 318.5 kB / 1.158 GB, free: 30.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.106e-05/0.7784, allocations: 79.8 kB / 1.158 GB, free: 30.64 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.875e-05/0.7785, allocations: 142.7 kB / 1.158 GB, free: 30.53 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 8.637e-06/0.7785, allocations: 29.73 kB / 1.158 GB, free: 30.49 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 2.68e-05/0.7785, allocations: 104.8 kB / 1.158 GB, free: 30.39 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.685e-05/0.7785, allocations: 11.84 kB / 1.158 GB, free: 30.38 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.961e-05/0.7785, allocations: 31.25 kB / 1.158 GB, free: 30.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 3.502e-05/0.7786, allocations: 321 kB / 1.159 GB, free: 30.05 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.7787, allocations: 168 kB / 1.159 GB, free: 29.97 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.7788, allocations: 170.9 kB / 1.159 GB, free: 29.89 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.779, allocations: 289.4 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.779, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002691/0.7793, allocations: 390.6 kB / 1.16 GB, free: 29.55 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.7793, allocations: 77.28 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.7793, allocations: 7.156 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.7793, allocations: 0 / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-07/0.7793, allocations: 0 / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.7793, allocations: 0 / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.7794, allocations: 16.66 kB / 1.16 GB, free: 29.47 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.7794, allocations: 3.031 kB / 1.16 GB, free: 29.47 MB / 1.076 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 6.279e-05/0.7795, allocations: 151 kB / 1.16 GB, free: 29.32 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.5e-05/0.7795, allocations: 17.45 kB / 1.16 GB, free: 29.31 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.148e-05/0.7795, allocations: 4.344 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7795, allocations: 6.359 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.7795, allocations: 4 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-06/0.7795, allocations: 0 / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.998e-05/0.7796, allocations: 119.7 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.92e-07/0.7796, allocations: 0 / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.7796, allocations: 0 / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.7796, allocations: 0 / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.7796, allocations: 6.969 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.7796, allocations: 0 / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7796, allocations: 3.984 kB / 1.16 GB, free: 29.15 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.7798, allocations: 262.3 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-06/0.7798, allocations: 9.234 kB / 1.16 GB, free: 29 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.7798, allocations: 7.969 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.48e-05/0.7799, allocations: 2.719 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.7799, allocations: 9.188 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.7799, allocations: 2.969 kB / 1.16 GB, free: 28.99 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.78, allocations: 106.6 kB / 1.16 GB, free: 28.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.78, allocations: 3.938 kB / 1.16 GB, free: 28.9 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002513/0.7802, allocations: 64.3 kB / 1.16 GB, free: 28.9 MB / 1.076 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.0001945/0.7804, allocations: 153.6 kB / 1.161 GB, free: 28.79 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0002897/0.7807, allocations: 424.9 kB / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.7807, allocations: 0 / 1.161 GB, free: 28.54 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.7808, allocations: 153.3 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.7809, allocations: 8.641 kB / 1.161 GB, free: 28.44 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.7812, allocations: 242.9 kB / 1.161 GB, free: 28.27 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.039e-05/0.7812, allocations: 75.61 kB / 1.161 GB, free: 28.2 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 4.429e-06/0.7813, allocations: 0 / 1.161 GB, free: 28.2 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.885e-06/0.7813, allocations: 8.5 kB / 1.161 GB, free: 28.19 MB / 1.076 GB Notification: Performance of SimCode: time 3.9e-07/0.7813, allocations: 6.75 kB / 1.161 GB, free: 28.18 MB / 1.076 GB Notification: Performance of Templates: time 0.004182/0.7854, allocations: 2.141 MB / 1.164 GB, free: 27.98 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.178324667969719]