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.001362/0.001362, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001527/0.001527, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.489/1.489, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.818/2.818, allocations: 476.7 MB / 0.7672 GB, free: 5.223 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [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.002315/0.002315, allocations: 71.91 kB / 1.112 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8368, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002177/0.839, allocations: 0.6246 MB / 1.279 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002245/0.8412, allocations: 1.445 MB / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.843e-05/0.8413, allocations: 0 / 1.28 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.742e-05/0.8413, allocations: 3.938 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.8414, allocations: 4 kB / 1.28 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007353/0.8421, allocations: 181.3 kB / 1.281 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.8422, allocations: 47.89 kB / 1.281 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.8423, allocations: 4 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.478e-05/0.8423, allocations: 19.92 kB / 1.281 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.8424, allocations: 27.91 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.655e-05/0.8424, allocations: 4 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.8429, allocations: 203.7 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.8429, allocations: 11.98 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.009e-05/0.843, allocations: 27.8 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.8433, allocations: 185.3 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.8433, allocations: 4 kB / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.674e-06/0.8433, allocations: 0 / 1.281 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8434, allocations: 0 / 1.281 GB, free: 10.62 MB / 0.9825 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.0006112/0.844, allocations: 442.4 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.844, allocations: 12.03 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.8441, allocations: 34.69 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.821e-05/0.8441, allocations: 8.891 kB / 1.281 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.8442, allocations: 176.3 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.8443, allocations: 12.38 kB / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.8443, allocations: 384 / 1.282 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.8445, allocations: 97.77 kB / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.8445, allocations: 0 / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.8445, allocations: 0 / 1.282 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.8445, allocations: 4 kB / 1.282 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.8446, allocations: 59.95 kB / 1.282 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001889/0.8448, allocations: 173.6 kB / 1.282 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.8449, allocations: 88.2 kB / 1.282 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.587e-05/0.845, allocations: 64.86 kB / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.845, allocations: 0 / 1.282 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.8451, allocations: 34.5 kB / 1.282 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.8451, allocations: 0 / 1.282 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004389/0.8455, allocations: 255.2 kB / 1.282 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.157e-05/0.8456, allocations: 81.11 kB / 1.282 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001504/0.8457, allocations: 159.9 kB / 1.283 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.8457, allocations: 33.73 kB / 1.283 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.8458, allocations: 84.14 kB / 1.283 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.8458, allocations: 11.91 kB / 1.283 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.458e-05/0.8459, allocations: 29.7 kB / 1.283 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.846, allocations: 318.8 kB / 1.283 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.8462, allocations: 107.9 kB / 1.283 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.8463, allocations: 103.9 kB / 1.283 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.8466, allocations: 274 kB / 1.284 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.073e-06/0.8466, allocations: 4.031 kB / 1.284 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00041/0.847, allocations: 336.7 kB / 1.284 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.478e-05/0.8471, allocations: 67.39 kB / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.8471, allocations: 0 / 1.284 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.8471, allocations: 4 kB / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.8471, allocations: 0 / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.8471, allocations: 0 / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.8473, allocations: 11.89 kB / 1.284 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.8473, allocations: 4 kB / 1.284 GB, free: 7.297 MB / 0.9825 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.0001362/0.8474, allocations: 159.5 kB / 1.284 GB, free: 7.125 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.8474, allocations: 12.03 kB / 1.284 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.087e-05/0.8475, allocations: 8.234 kB / 1.284 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.8475, allocations: 0 / 1.284 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.8475, allocations: 4 kB / 1.284 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.8475, allocations: 0 / 1.284 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.8476, allocations: 169.6 kB / 1.284 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.8476, allocations: 7.938 kB / 1.284 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.8476, allocations: 0 / 1.284 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.8476, allocations: 0 / 1.284 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.8476, allocations: 4 kB / 1.284 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.8476, allocations: 0 / 1.284 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.8476, allocations: 4 kB / 1.284 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.848, allocations: 226.6 kB / 1.285 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/0.848, allocations: 89 kB / 1.285 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.848, allocations: 4 kB / 1.285 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.834e-05/0.8481, allocations: 7.984 kB / 1.285 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.8481, allocations: 4 kB / 1.285 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.8482, allocations: 8.031 kB / 1.285 GB, free: 6.488 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001046/0.8483, allocations: 107.2 kB / 1.285 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8483, allocations: 0 / 1.285 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003304/0.8486, allocations: 67.86 kB / 1.285 GB, free: 6.316 MB / 0.9825 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.0008641/0.8495, allocations: 0.8135 MB / 1.286 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004443/0.8499, allocations: 338.6 kB / 1.286 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8499, allocations: 0 / 1.286 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.8501, allocations: 123.4 kB / 1.286 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000189/0.8502, allocations: 9.234 kB / 1.286 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002626/0.8529, allocations: 2.129 MB / 1.288 GB, free: 2.75 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003317/0.8532, allocations: 0.6963 MB / 1.289 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.933e-06/0.8532, allocations: 0 / 1.289 GB, free: 2.027 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.592e-05/0.8533, allocations: 15.44 kB / 1.289 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.8533, allocations: 0 / 1.289 GB, free: 2.012 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02848/0.8817, allocations: 3.316 MB / 1.292 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.799, allocations: 34.03 kB / 1.292 GB, free: 14.77 MB / 0.9981 GB " [Timeout remaining time 291] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/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: 15.022537989076227]