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.002238/0.002238, allocations: 79.7 kB / 20.23 MB, free: 4.195 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.001937/0.001937, allocations: 161.3 kB / 23.55 MB, free: 0.8789 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.55/1.55, allocations: 177.1 MB / 203.9 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.16/3.16, allocations: 377.9 MB / 0.6232 GB, free: 8.523 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.353e-06/1.353e-06, allocations: 0 / 0.8108 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.852e-05/2.988e-05, allocations: 12.5 kB / 0.8109 GB, free: 2.008 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00168/0.00171, allocations: 0.6162 MB / 0.8115 GB, free: 1.414 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002223/0.003932, allocations: 1.406 MB / 0.8128 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.003959, allocations: 4.906 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.976e-05/0.004018, allocations: 7.781 kB / 0.8128 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 3.699e-05/0.004055, allocations: 4.828 kB / 0.8129 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006686/0.004724, allocations: 181.9 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.004832, allocations: 43.91 kB / 0.8131 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.219e-05/0.004864, allocations: 3.984 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.569e-05/0.00492, allocations: 25.58 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.87e-05/0.004979, allocations: 23.95 kB / 0.8131 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.004997, allocations: 4 kB / 0.8131 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004135/0.00541, allocations: 211.5 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.901e-05/0.00546, allocations: 21.28 kB / 0.8133 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.719e-05/0.005497, allocations: 11.94 kB / 0.8134 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003714/0.005868, allocations: 231.4 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005871, allocations: 0 / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005872, allocations: 0.5312 kB / 0.8136 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.005876, allocations: 1.375 kB / 0.8136 GB, free: 15.24 MB / 0.7761 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.0005496/0.006425, allocations: 471.2 kB / 0.814 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.006459, allocations: 8.031 kB / 0.814 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.00651, allocations: 8.891 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.006647, allocations: 133.6 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.00666, allocations: 384 / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.006674, allocations: 4.375 kB / 0.8142 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.006873, allocations: 121.1 kB / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.006881, allocations: 192 / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.006891, allocations: 384 / 0.8143 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.006897, allocations: 5.031 kB / 0.8143 GB, free: 14.42 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.00702, allocations: 89.59 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.007204, allocations: 132.7 kB / 0.8145 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.007369, allocations: 113.6 kB / 0.8146 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001203/0.007489, allocations: 97.39 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.096e-06/0.007497, allocations: 1.344 kB / 0.8147 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.007534, allocations: 37.39 kB / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.007535, allocations: 0 / 0.8147 GB, free: 13.88 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0004873/0.008022, allocations: 307.1 kB / 0.815 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.991e-05/0.008102, allocations: 85.05 kB / 0.8151 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.008291, allocations: 215.9 kB / 0.8153 GB, free: 13.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.008313, allocations: 27.64 kB / 0.8154 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.57e-05/0.008398, allocations: 138.8 kB / 0.8155 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.008426, allocations: 15.91 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-05/0.008489, allocations: 35.36 kB / 0.8155 GB, free: 13 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002579/0.008746, allocations: 0.4884 MB / 0.816 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.008918, allocations: 141 kB / 0.8161 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.009086, allocations: 139.3 kB / 0.8163 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003072/0.009393, allocations: 260.7 kB / 0.8165 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.009395, allocations: 0 / 0.8165 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000647/0.01004, allocations: 349.1 kB / 0.8169 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-05/0.01011, allocations: 67.39 kB / 0.8169 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.01012, allocations: 0 / 0.8169 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.01014, allocations: 4.531 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.01014, allocations: 0.6875 kB / 0.8169 GB, free: 11.47 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.01015, allocations: 11.91 kB / 0.8169 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.992e-05/0.01025, allocations: 8.469 kB / 0.817 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.01026, allocations: 4.844 kB / 0.817 GB, free: 11.45 MB / 0.7761 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.0001461/0.01041, allocations: 190.3 kB / 0.8171 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.575e-05/0.01043, allocations: 12.78 kB / 0.8171 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.324e-05/0.01045, allocations: 8.344 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.01045, allocations: 1.281 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.01045, allocations: 3.938 kB / 0.8172 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.01046, allocations: 0 / 0.8172 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.01059, allocations: 132.6 kB / 0.8173 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.01059, allocations: 0.8438 kB / 0.8173 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.62e-07/0.01059, allocations: 144 / 0.8173 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01059, allocations: 1.219 kB / 0.8173 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.0106, allocations: 7.984 kB / 0.8173 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.0106, allocations: 0 / 0.8173 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01061, allocations: 5.25 kB / 0.8173 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000366/0.01097, allocations: 271.6 kB / 0.8176 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.71e-05/0.01099, allocations: 15.95 kB / 0.8176 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.705e-05/0.01101, allocations: 0 / 0.8176 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.529e-05/0.01105, allocations: 5.594 kB / 0.8176 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.174e-05/0.01111, allocations: 7.984 kB / 0.8176 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.529e-05/0.01113, allocations: 11.94 kB / 0.8176 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.625e-05/0.01123, allocations: 141.2 kB / 0.8177 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01123, allocations: 6.688 kB / 0.8177 GB, free: 10.57 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002979/0.01152, allocations: 63.92 kB / 0.8178 GB, free: 10.5 MB / 0.7761 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.0003079/0.01183, allocations: 159.1 kB / 0.818 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004835/0.01232, allocations: 403.4 kB / 0.8183 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.01232, allocations: 0 / 0.8183 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.0125, allocations: 161.8 kB / 0.8185 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000144/0.01264, allocations: 13.62 kB / 0.8185 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.01307, allocations: 241.5 kB / 0.8187 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.927e-05/0.01316, allocations: 75.27 kB / 0.8188 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.739e-06/0.01317, allocations: 4 kB / 0.8188 GB, free: 9.336 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.01318, allocations: 9.562 kB / 0.8188 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of SimCode: time 6.11e-07/0.01318, allocations: 0 / 0.8188 GB, free: 9.328 MB / 0.7761 GB Notification: Performance of Templates: time 0.005684/0.01887, allocations: 2.167 MB / 0.8209 GB, free: 7.191 MB / 0.7761 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 -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","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/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.115481815999374]