Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_10_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.0007622/0.0007622, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00454/0.00454, allocations: 170.1 kB / 16.27 MB, free: 6.66 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.268/1.268, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.458/2.458, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003655, allocations: 8 kB / 0.873 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6085, allocations: 153.8 MB / 1.023 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0005945/0.6092, allocations: 357.4 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00164/0.6108, allocations: 1.389 MB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.483e-05/0.6109, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.514e-05/0.6109, allocations: 15.92 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 2.449e-05/0.6109, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004594/0.6114, allocations: 135.6 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.973e-05/0.6115, allocations: 43.95 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 2.615e-05/0.6115, allocations: 3.938 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.249e-05/0.6115, allocations: 27.91 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.6e-05/0.6116, allocations: 23.97 kB / 1.025 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.6116, allocations: 4 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002706/0.6119, allocations: 187.7 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.275e-05/0.6119, allocations: 15.88 kB / 1.025 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.612, allocations: 57.55 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.6123, allocations: 185.8 kB / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.6123, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.22e-07/0.6123, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.414e-06/0.6123, allocations: 0 / 1.026 GB, free: 13.36 MB / 0.7794 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.0003169/0.6126, allocations: 426.8 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.808e-05/0.6126, allocations: 8.031 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.63e-05/0.6127, allocations: 38.69 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.219e-05/0.6127, allocations: 8.844 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.6e-05/0.6128, allocations: 168.3 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-06/0.6128, allocations: 12.31 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.6128, allocations: 4.375 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.613, allocations: 101.8 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-06/0.613, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.115e-06/0.613, allocations: 3.984 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.815e-06/0.613, allocations: 0 / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.712e-05/0.6131, allocations: 59.95 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001301/0.6132, allocations: 177.5 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.973e-05/0.6133, allocations: 82.47 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.459e-05/0.6134, allocations: 72.89 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-06/0.6135, allocations: 0 / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.6135, allocations: 42.47 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.6135, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0003398/0.6138, allocations: 247.3 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.6139, allocations: 81.11 kB / 1.027 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.614, allocations: 150.8 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.614, allocations: 25.7 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.462e-05/0.6141, allocations: 88.14 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.6141, allocations: 15.8 kB / 1.027 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.814e-05/0.6141, allocations: 21.66 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.6142, allocations: 318.8 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.6144, allocations: 99.94 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.6145, allocations: 107.9 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.6147, allocations: 277.7 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.6147, allocations: 4.031 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003362/0.6151, allocations: 324.7 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.892e-05/0.6151, allocations: 67.39 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.896e-06/0.6151, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.67e-06/0.6152, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.51e-07/0.6152, allocations: 4 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.6152, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001064/0.6153, allocations: 15.81 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/0.6153, allocations: 8 kB / 1.028 GB, free: 10.07 MB / 0.7794 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.0001011/0.6154, allocations: 160 kB / 1.029 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.6154, allocations: 11.84 kB / 1.029 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.072e-05/0.6155, allocations: 4.25 kB / 1.029 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.6155, allocations: 4 kB / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.6155, allocations: 0 / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.263e-06/0.6155, allocations: 0 / 1.029 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.6156, allocations: 173.6 kB / 1.029 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.6156, allocations: 3.938 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.6156, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.6156, allocations: 0 / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.6156, allocations: 4 kB / 1.029 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.6156, allocations: 4 kB / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6156, allocations: 0 / 1.029 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.6159, allocations: 226.6 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.025e-05/0.6159, allocations: 88.95 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.6159, allocations: 0 / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.117e-05/0.616, allocations: 7.984 kB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.616, allocations: 11.97 kB / 1.029 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-06/0.6161, allocations: 7.984 kB / 1.029 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.6161, allocations: 110.5 kB / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6161, allocations: 0 / 1.029 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002551/0.6164, allocations: 63.98 kB / 1.029 GB, free: 9.094 MB / 0.7794 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.000644/0.617, allocations: 0.817 MB / 1.03 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003462/0.6174, allocations: 370.6 kB / 1.03 GB, free: 7.852 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.6174, allocations: 7.938 kB / 1.03 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.6175, allocations: 127.4 kB / 1.031 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001249/0.6177, allocations: 11.98 kB / 1.031 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.6196, allocations: 2.147 MB / 1.033 GB, free: 5.457 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.6198, allocations: 0.6927 MB / 1.033 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.829e-06/0.6198, allocations: 0 / 1.033 GB, free: 4.738 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.6199, allocations: 19.42 kB / 1.033 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.6199, allocations: 0 / 1.033 GB, free: 4.719 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.6316, allocations: 2.98 MB / 1.036 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.6318, allocations: 209.1 kB / 1.036 GB, free: 1.613 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.131/2.762, allocations: 0 / 1.036 GB, free: 1.613 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches