Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 112.5 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 193.1 kB / 16.66 MB, free: 6.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.799/2.799, allocations: 469.4 MB / 0.7421 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 76.12 kB / 1.064 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3214, allocations: 159.1 MB / 1.22 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001866/0.3233, allocations: 0.6139 MB / 1.22 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001866/0.3252, allocations: 1.386 MB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.3253, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.212e-05/0.3253, allocations: 4 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.389e-05/0.3254, allocations: 7.938 kB / 1.222 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/0.3261, allocations: 178.8 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001222/0.3263, allocations: 43.97 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.552e-05/0.3263, allocations: 7.922 kB / 1.222 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.25e-05/0.3264, allocations: 19.98 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.859e-05/0.3264, allocations: 27.91 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.3265, allocations: 4 kB / 1.222 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.3268, allocations: 199.7 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.377e-05/0.3269, allocations: 15.92 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.3269, allocations: 19.88 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003175/0.3273, allocations: 191.5 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3273, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3273, allocations: 0 / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.3273, allocations: 0 / 1.222 GB, free: 11.91 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.0004375/0.3277, allocations: 446.3 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.3278, allocations: 12.03 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.474e-05/0.3278, allocations: 38.73 kB / 1.223 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.3279, allocations: 8.891 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.328, allocations: 180.1 kB / 1.223 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.328, allocations: 4.312 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.328, allocations: 4.375 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.3282, allocations: 97.77 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.3282, allocations: 3.938 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.3282, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.3283, allocations: 0 / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.882e-05/0.3284, allocations: 63.95 kB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001554/0.3285, allocations: 173.7 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.3286, allocations: 82.47 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.341e-05/0.3287, allocations: 68.89 kB / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.479e-06/0.3287, allocations: 0 / 1.224 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.3288, allocations: 38.5 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 2.244e-06/0.3288, allocations: 4 kB / 1.224 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003905/0.3292, allocations: 255.2 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.3292, allocations: 85.11 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3294, allocations: 147.3 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.3294, allocations: 25.7 kB / 1.224 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.3294, allocations: 92.09 kB / 1.224 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.32e-05/0.3295, allocations: 3.953 kB / 1.224 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.104e-05/0.3295, allocations: 29.7 kB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3296, allocations: 334.8 kB / 1.225 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.3298, allocations: 99.94 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.3299, allocations: 99.94 kB / 1.225 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002687/0.3301, allocations: 277.9 kB / 1.225 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3302, allocations: 4 kB / 1.225 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003401/0.3305, allocations: 324.8 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.38e-05/0.3306, allocations: 71.38 kB / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3306, allocations: 0 / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.3306, allocations: 0 / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.252e-06/0.3306, allocations: 0 / 1.225 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3306, allocations: 4.062 kB / 1.225 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001644/0.3308, allocations: 15.89 kB / 1.225 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.737e-05/0.3308, allocations: 7.938 kB / 1.225 GB, free: 8.57 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.0001152/0.3309, allocations: 148.1 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.331, allocations: 15.88 kB / 1.226 GB, free: 8.395 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.331, allocations: 12.19 kB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.331, allocations: 0 / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.331, allocations: 0 / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.331, allocations: 0 / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.3312, allocations: 177.6 kB / 1.226 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3312, allocations: 3.938 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.31e-07/0.3312, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3312, allocations: 0 / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3312, allocations: 4 kB / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.3312, allocations: 0 / 1.226 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3312, allocations: 3.938 kB / 1.226 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.3315, allocations: 230.8 kB / 1.226 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.271e-05/0.3315, allocations: 93.03 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.3316, allocations: 4 kB / 1.226 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.495e-05/0.3316, allocations: 4 kB / 1.226 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.3317, allocations: 11.92 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.523e-06/0.3317, allocations: 0 / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.558e-05/0.3318, allocations: 109.3 kB / 1.226 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3318, allocations: 4 kB / 1.226 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000304/0.3321, allocations: 67.86 kB / 1.226 GB, free: 7.59 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.0007278/0.3328, allocations: 0.8092 MB / 1.227 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004729/0.3333, allocations: 374.6 kB / 1.227 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3333, allocations: 3.938 kB / 1.227 GB, free: 6.352 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001422/0.3335, allocations: 131.4 kB / 1.228 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001576/0.3337, allocations: 8 kB / 1.228 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00213/0.3358, allocations: 2.137 MB / 1.23 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002523/0.3361, allocations: 0.6963 MB / 1.23 GB, free: 3.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.055e-06/0.3361, allocations: 3.984 kB / 1.23 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.06e-05/0.3361, allocations: 19.44 kB / 1.23 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of SimCode: time 5.61e-07/0.3361, allocations: 0 / 1.23 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.3573, allocations: 3.298 MB / 1.234 GB, free: 40 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.217, allocations: 9 kB / 1.234 GB, free: 32 kB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches