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.0008021/0.0008021, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008106/0.0008106, allocations: 170.3 kB / 22.46 MB, free: 2.105 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 0.9041/0.9041, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.728/1.728, allocations: 377.9 MB / 0.6221 GB, free: 8.641 MB / 0.5886 GB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.981 GB, free: 2.516 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.305e-05/1.423e-05, allocations: 2.281 kB / 0.981 GB, free: 2.512 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001036/0.001051, allocations: 0.6189 MB / 0.9816 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001251/0.002301, allocations: 1.381 MB / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.002325, allocations: 0 / 0.983 GB, free: 0.4961 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 5.238e-05/0.002378, allocations: 3.984 kB / 0.983 GB, free: 0.4922 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.907e-05/0.002417, allocations: 11.88 kB / 0.983 GB, free: 492 kB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004864/0.002903, allocations: 182.1 kB / 0.9832 GB, free: 312 kB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 9.215e-05/0.002995, allocations: 47.95 kB / 0.9832 GB, free: 264 kB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.298e-05/0.003028, allocations: 3.938 kB / 0.9832 GB, free: 260 kB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.346e-05/0.003072, allocations: 27.92 kB / 0.9832 GB, free: 232 kB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 5.19e-05/0.003124, allocations: 23.95 kB / 0.9833 GB, free: 208 kB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.003136, allocations: 4 kB / 0.9833 GB, free: 204 kB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002451/0.003381, allocations: 207.7 kB / 0.9835 GB, free: 15.99 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 4.43e-05/0.003425, allocations: 19.92 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.003455, allocations: 23.88 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.003667, allocations: 227.4 kB / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.003669, allocations: 0 / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.61e-07/0.00367, allocations: 0 / 0.9837 GB, free: 15.73 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.003674, allocations: 0 / 0.9837 GB, free: 15.73 MB / 0.948 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.0003131/0.003987, allocations: 375.5 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.004021, allocations: 8.031 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.685e-05/0.004048, allocations: 38.75 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.938e-05/0.004077, allocations: 4.891 kB / 0.9841 GB, free: 15.27 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.519e-05/0.004152, allocations: 121.7 kB / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.908e-06/0.004162, allocations: 384 / 0.9842 GB, free: 15.12 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.004172, allocations: 8.312 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.004318, allocations: 127.9 kB / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.004324, allocations: 192 / 0.9844 GB, free: 14.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.004334, allocations: 8.125 kB / 0.9844 GB, free: 14.97 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.004338, allocations: 3.938 kB / 0.9844 GB, free: 14.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.004536, allocations: 89.66 kB / 0.9845 GB, free: 14.87 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/0.004642, allocations: 144.7 kB / 0.9846 GB, free: 14.69 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/0.004731, allocations: 108.2 kB / 0.9847 GB, free: 14.57 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.627e-05/0.004798, allocations: 94.53 kB / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.081e-06/0.004804, allocations: 0 / 0.9848 GB, free: 14.46 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.781e-05/0.004822, allocations: 34.56 kB / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.004822, allocations: 0 / 0.9848 GB, free: 14.42 MB / 0.948 GB Notification: Performance of matching and sorting (n=4): time 0.0002941/0.005116, allocations: 318.5 kB / 0.9851 GB, free: 14.09 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/0.005149, allocations: 81.09 kB / 0.9852 GB, free: 13.99 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/0.005229, allocations: 140.8 kB / 0.9854 GB, free: 13.84 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.688e-06/0.005239, allocations: 29.73 kB / 0.9854 GB, free: 13.81 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.005276, allocations: 96.08 kB / 0.9855 GB, free: 13.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.691e-05/0.005293, allocations: 11.95 kB / 0.9855 GB, free: 13.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.005329, allocations: 29.7 kB / 0.9855 GB, free: 13.66 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.773e-05/0.005397, allocations: 310.8 kB / 0.9858 GB, free: 13.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.005507, allocations: 179.2 kB / 0.986 GB, free: 13.16 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.809e-05/0.005605, allocations: 171.3 kB / 0.9861 GB, free: 12.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/0.005786, allocations: 281.8 kB / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.005787, allocations: 0 / 0.9864 GB, free: 12.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002504/0.006038, allocations: 388.2 kB / 0.9868 GB, free: 12.28 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.854e-05/0.006076, allocations: 71.39 kB / 0.9868 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.006082, allocations: 8 kB / 0.9869 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.257e-06/0.006091, allocations: 0 / 0.9869 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.006092, allocations: 0 / 0.9869 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.006097, allocations: 7.984 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.833e-05/0.006196, allocations: 11.89 kB / 0.9869 GB, free: 12.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.006205, allocations: 4 kB / 0.9869 GB, free: 12.16 MB / 0.948 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 7.295e-05/0.006278, allocations: 155.5 kB / 0.987 GB, free: 12 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.006287, allocations: 7.953 kB / 0.987 GB, free: 11.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.034e-05/0.006297, allocations: 8.281 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.006299, allocations: 3.984 kB / 0.987 GB, free: 11.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.006303, allocations: 4 kB / 0.987 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.006306, allocations: 4 kB / 0.9871 GB, free: 11.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.858e-05/0.006374, allocations: 132.8 kB / 0.9872 GB, free: 11.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.006376, allocations: 4 kB / 0.9872 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-06/0.006377, allocations: 3.984 kB / 0.9872 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.006378, allocations: 0 / 0.9872 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.006386, allocations: 3.938 kB / 0.9872 GB, free: 11.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.006388, allocations: 4 kB / 0.9872 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.00639, allocations: 4.141 kB / 0.9872 GB, free: 11.78 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/0.006574, allocations: 256.4 kB / 0.9874 GB, free: 11.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.583e-06/0.00658, allocations: 11.92 kB / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.006592, allocations: 7.938 kB / 0.9875 GB, free: 11.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.941e-05/0.006622, allocations: 4 kB / 0.9875 GB, free: 11.47 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.006671, allocations: 11.98 kB / 0.9875 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.006675, allocations: 3.938 kB / 0.9875 GB, free: 11.46 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.612e-05/0.006721, allocations: 116.9 kB / 0.9876 GB, free: 11.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006721, allocations: 0 / 0.9876 GB, free: 11.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001829/0.006904, allocations: 67.86 kB / 0.9877 GB, free: 11.28 MB / 0.948 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.0004524/0.007356, allocations: 0.8421 MB / 0.9885 GB, free: 10.39 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002836/0.00764, allocations: 427.7 kB / 0.9889 GB, free: 9.93 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.007641, allocations: 0 / 0.9889 GB, free: 9.93 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 8.749e-05/0.007728, allocations: 157 kB / 0.989 GB, free: 9.758 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001094/0.007838, allocations: 8 kB / 0.989 GB, free: 9.75 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.009432, allocations: 2.455 MB / 0.9914 GB, free: 7.145 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.009478, allocations: 79.31 kB / 0.9915 GB, free: 7.047 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 4.678e-06/0.009483, allocations: 0 / 0.9915 GB, free: 7.047 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.009507, allocations: 20.5 kB / 0.9915 GB, free: 7.027 MB / 0.948 GB Notification: Performance of SimCode: time 5.21e-07/0.009508, allocations: 0 / 0.9915 GB, free: 7.027 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01681/0.02631, allocations: 4.045 MB / 0.9955 GB, free: 3.129 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.776/6.802, allocations: 12.69 kB / 0.9955 GB, free: 3.117 MB / 0.948 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/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: 10.901891964487731]