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.001708/0.001708, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.002149/0.002149, allocations: 161.3 kB / 23.55 MB, free: 0.8555 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.469/1.469, allocations: 177.1 MB / 203.9 MB, free: 5.613 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 2.864/2.864, allocations: 377.9 MB / 0.6232 GB, free: 8.512 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.533e-06/1.533e-06, allocations: 0 / 0.8109 GB, free: 2.043 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.363e-05, allocations: 10.25 kB / 0.8109 GB, free: 2.031 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00184/0.001873, allocations: 0.6121 MB / 0.8115 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002411/0.004285, allocations: 1.394 MB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.588e-05/0.00431, allocations: 1.062 kB / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 5.914e-05/0.00437, allocations: 0 / 0.8128 GB, free: 36 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 4.375e-05/0.004413, allocations: 8.484 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.000768/0.005181, allocations: 186.7 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.005301, allocations: 47.95 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.345e-05/0.005335, allocations: 4 kB / 0.8131 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.197e-05/0.005397, allocations: 27.92 kB / 0.8131 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.541e-05/0.005462, allocations: 27.95 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.454e-05/0.005477, allocations: 1.469 kB / 0.8131 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004353/0.005912, allocations: 211.7 kB / 0.8133 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.005962, allocations: 11.92 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.908e-05/0.006011, allocations: 19.92 kB / 0.8134 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004022/0.006413, allocations: 224.8 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.006415, allocations: 0 / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.02e-07/0.006416, allocations: 0 / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.00642, allocations: 0 / 0.8136 GB, free: 15.29 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.0005178/0.006938, allocations: 371.1 kB / 0.8139 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.006974, allocations: 15.95 kB / 0.8139 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.007032, allocations: 12.89 kB / 0.8139 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001452/0.007177, allocations: 117.7 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.007191, allocations: 384 / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.007206, allocations: 6.438 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.007433, allocations: 127.9 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.007442, allocations: 192 / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.007452, allocations: 4.375 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.007459, allocations: 3.938 kB / 0.8142 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.00759, allocations: 90.17 kB / 0.8143 GB, free: 14.47 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001659/0.007756, allocations: 117.4 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.00792, allocations: 108.7 kB / 0.8145 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003681/0.008288, allocations: 99.3 kB / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.568e-06/0.008297, allocations: 0 / 0.8146 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.008338, allocations: 35.09 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 7.61e-07/0.008339, allocations: 1.5 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.000524/0.008863, allocations: 314.5 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.00894, allocations: 89.05 kB / 0.815 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.009117, allocations: 149.7 kB / 0.8152 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.3e-05/0.00914, allocations: 26.23 kB / 0.8152 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.00921, allocations: 88.14 kB / 0.8153 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.009237, allocations: 13.16 kB / 0.8153 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.009302, allocations: 29.7 kB / 0.8153 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.009482, allocations: 322.8 kB / 0.8156 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.009691, allocations: 168.5 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.009887, allocations: 167.3 kB / 0.8159 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003583/0.01024, allocations: 289.8 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01025, allocations: 1.375 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004922/0.01074, allocations: 384.3 kB / 0.8166 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.01081, allocations: 77.25 kB / 0.8166 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.01082, allocations: 0.9062 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.01084, allocations: 3.938 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.129e-06/0.01084, allocations: 3.938 kB / 0.8167 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.449e-06/0.01085, allocations: 4.781 kB / 0.8167 GB, free: 11.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001468/0.01099, allocations: 7.953 kB / 0.8167 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.01101, allocations: 5.125 kB / 0.8167 GB, free: 11.8 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.0001503/0.01116, allocations: 155.5 kB / 0.8168 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.01118, allocations: 8.797 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.0112, allocations: 8.344 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-06/0.0112, allocations: 1.438 kB / 0.8168 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.01121, allocations: 3.938 kB / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.01121, allocations: 0 / 0.8168 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.01133, allocations: 121.2 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01134, allocations: 5.094 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.01134, allocations: 0 / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.01134, allocations: 0 / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.01135, allocations: 5.969 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.01135, allocations: 0 / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.01135, allocations: 0 / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.01172, allocations: 268.3 kB / 0.8172 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.01174, allocations: 7.953 kB / 0.8172 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.01176, allocations: 6.359 kB / 0.8172 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.13e-05/0.01182, allocations: 4 kB / 0.8172 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.259e-05/0.0119, allocations: 15.92 kB / 0.8173 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.01191, allocations: 4 kB / 0.8173 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.113e-05/0.012, allocations: 99.27 kB / 0.8174 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.012, allocations: 0 / 0.8174 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003181/0.01232, allocations: 67.92 kB / 0.8174 GB, free: 10.96 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.0003192/0.01264, allocations: 161 kB / 0.8176 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0005488/0.01319, allocations: 419.9 kB / 0.818 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.01319, allocations: 0.6562 kB / 0.818 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.01337, allocations: 153 kB / 0.8181 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.01352, allocations: 12.59 kB / 0.8181 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004598/0.01398, allocations: 255.4 kB / 0.8184 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.992e-05/0.01407, allocations: 82.59 kB / 0.8185 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.959e-06/0.01408, allocations: 0 / 0.8185 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.711e-05/0.01409, allocations: 8.5 kB / 0.8185 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of SimCode: time 3.81e-07/0.01409, allocations: 0 / 0.8185 GB, free: 9.777 MB / 0.7761 GB Notification: Performance of Templates: time 0.005811/0.01991, allocations: 2.169 MB / 0.8206 GB, free: 7.641 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=400 -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/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: 7.588314934982918]