Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 113.9 kB / 18.94 MB, free: 2.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 191.8 kB / 22.23 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.617/2.617, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 71.88 kB / 1.062 GB, free: 2.953 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8321/0.8344, allocations: 160.8 MB / 1.218 GB, free: 3.66 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002099/0.8364, allocations: 0.6245 MB / 1.219 GB, free: 3.195 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00225/0.8387, allocations: 1.398 MB / 1.22 GB, free: 2.082 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.8387, allocations: 4.906 kB / 1.22 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.124e-05/0.8388, allocations: 1.219 kB / 1.22 GB, free: 2.078 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.993e-05/0.8388, allocations: 9.016 kB / 1.22 GB, free: 2.07 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007953/0.8396, allocations: 188.1 kB / 1.221 GB, free: 1.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001248/0.8398, allocations: 47.45 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.627e-05/0.8398, allocations: 2.094 kB / 1.221 GB, free: 1.934 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 4.398e-05/0.8398, allocations: 16.77 kB / 1.221 GB, free: 1.926 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.725e-05/0.8399, allocations: 29.64 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.8399, allocations: 3.656 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004651/0.8404, allocations: 229.7 kB / 1.221 GB, free: 1.773 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.768e-05/0.8404, allocations: 14.39 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.8405, allocations: 27.02 kB / 1.221 GB, free: 1.746 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003592/0.8408, allocations: 189.9 kB / 1.221 GB, free: 1.637 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8408, allocations: 5.062 kB / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.182e-06/0.8409, allocations: 0 / 1.221 GB, free: 1.633 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.8409, allocations: 0 / 1.221 GB, free: 1.633 MB / 0.92 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.0005266/0.8414, allocations: 441.2 kB / 1.222 GB, free: 1.172 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.8414, allocations: 13.94 kB / 1.222 GB, free: 1.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.8415, allocations: 12.14 kB / 1.222 GB, free: 1.16 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.8416, allocations: 172.2 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.8416, allocations: 1.812 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.8416, allocations: 4.281 kB / 1.222 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.8418, allocations: 108.6 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.8418, allocations: 0 / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.8418, allocations: 1.188 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.8418, allocations: 0.9375 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.476e-05/0.8419, allocations: 59.52 kB / 1.222 GB, free: 0.875 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.8421, allocations: 177.1 kB / 1.222 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/0.8423, allocations: 79.92 kB / 1.222 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.669e-05/0.8424, allocations: 68.31 kB / 1.222 GB, free: 0.5938 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.8424, allocations: 4 kB / 1.222 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/0.8424, allocations: 43.72 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.8424, allocations: 0 / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004179/0.8428, allocations: 246.6 kB / 1.223 GB, free: 436 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.8429, allocations: 83.05 kB / 1.223 GB, free: 336 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.843, allocations: 144 kB / 1.223 GB, free: 212 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.843, allocations: 28.3 kB / 1.223 GB, free: 180 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.8431, allocations: 98.36 kB / 1.223 GB, free: 80 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.8431, allocations: 13.97 kB / 1.223 GB, free: 68 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.885e-05/0.8432, allocations: 25.88 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.8433, allocations: 321.3 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.8435, allocations: 100.8 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.8436, allocations: 103.7 kB / 1.223 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003015/0.8439, allocations: 283.5 kB / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.8439, allocations: 0 / 1.224 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004288/0.8443, allocations: 329.2 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.619e-05/0.8444, allocations: 72.08 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.8444, allocations: 0 / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.8444, allocations: 1.125 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.8444, allocations: 0 / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.8444, allocations: 0.875 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.8446, allocations: 17.53 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.8446, allocations: 7.5 kB / 1.224 GB, free: 15.24 MB / 0.9356 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.0001435/0.8448, allocations: 158.6 kB / 1.224 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.341e-05/0.8448, allocations: 11.86 kB / 1.224 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.928e-05/0.8448, allocations: 9.406 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.8448, allocations: 1.094 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.8448, allocations: 0 / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.8448, allocations: 1.344 kB / 1.224 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.845, allocations: 172.6 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.845, allocations: 3.938 kB / 1.224 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.015e-06/0.845, allocations: 7.875 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.845, allocations: 1.125 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.845, allocations: 2.156 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.845, allocations: 0 / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.845, allocations: 9.078 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.8453, allocations: 225 kB / 1.225 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.8454, allocations: 90.17 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.8454, allocations: 2.688 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.271e-05/0.8454, allocations: 2.656 kB / 1.225 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.8455, allocations: 8.141 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.8455, allocations: 2.156 kB / 1.225 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.71e-05/0.8456, allocations: 109.2 kB / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.8456, allocations: 0 / 1.225 GB, free: 14.49 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003626/0.846, allocations: 63.8 kB / 1.225 GB, free: 14.48 MB / 0.9356 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.0003129/0.8463, allocations: 149.2 kB / 1.225 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004112/0.8467, allocations: 333.1 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.8467, allocations: 0 / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/0.8469, allocations: 126.1 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.847, allocations: 6.375 kB / 1.226 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004259/0.8475, allocations: 211.4 kB / 1.226 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003723/0.8478, allocations: 0.6934 MB / 1.226 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 7.714e-06/0.8478, allocations: 0 / 1.226 GB, free: 13.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.738e-05/0.8479, allocations: 13.22 kB / 1.226 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of SimCode: time 7.31e-07/0.8479, allocations: 3.938 kB / 1.226 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of Templates: time 0.005962/0.8538, allocations: 2.078 MB / 1.228 GB, free: 12.17 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.481461867690086]