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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00753/0.00753, allocations: 100.8 kB / 15.73 MB, free: 6.012 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.002018/0.002018, allocations: 187 kB / 16.67 MB, free: 5.949 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.755/2.755, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 67.83 kB / 1.054 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3164, allocations: 157.4 MB / 1.207 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001841/0.3183, allocations: 0.6205 MB / 1.208 GB, free: 9.477 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001788/0.3201, allocations: 1.384 MB / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.932e-05/0.3202, allocations: 0 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.509e-05/0.3203, allocations: 0 / 1.209 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.207e-05/0.3203, allocations: 7.938 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006779/0.321, allocations: 179.6 kB / 1.209 GB, free: 7.891 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.3211, allocations: 51.95 kB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.3212, allocations: 0 / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.082e-05/0.3212, allocations: 23.92 kB / 1.21 GB, free: 7.816 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.306e-05/0.3213, allocations: 19.97 kB / 1.21 GB, free: 7.797 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.3213, allocations: 7.984 kB / 1.21 GB, free: 7.789 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003326/0.3217, allocations: 191.7 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.32e-05/0.3217, allocations: 19.92 kB / 1.21 GB, free: 7.582 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.3218, allocations: 23.88 kB / 1.21 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.3221, allocations: 191.8 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3221, allocations: 0 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3221, allocations: 0 / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.3221, allocations: 0 / 1.21 GB, free: 7.371 MB / 0.9669 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.0005384/0.3227, allocations: 442.7 kB / 1.21 GB, free: 6.879 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.3227, allocations: 12.61 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.561e-05/0.3228, allocations: 42.69 kB / 1.21 GB, free: 6.816 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.3228, allocations: 8.844 kB / 1.21 GB, free: 6.809 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001526/0.323, allocations: 176.2 kB / 1.211 GB, free: 6.598 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.323, allocations: 4.375 kB / 1.211 GB, free: 6.594 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.323, allocations: 4.375 kB / 1.211 GB, free: 6.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001972/0.3232, allocations: 97.77 kB / 1.211 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.3233, allocations: 3.938 kB / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3233, allocations: 0 / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.3233, allocations: 0 / 1.211 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.246e-05/0.3234, allocations: 59.95 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.3236, allocations: 177.6 kB / 1.211 GB, free: 6.203 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.3237, allocations: 82.53 kB / 1.211 GB, free: 6.113 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.606e-05/0.3238, allocations: 68.89 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.3238, allocations: 0 / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.3239, allocations: 34.5 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 2.755e-06/0.3239, allocations: 3.938 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004058/0.3243, allocations: 259.2 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.224e-05/0.3243, allocations: 81.11 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3245, allocations: 150.9 kB / 1.212 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.3245, allocations: 29.7 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.471e-05/0.3246, allocations: 92.14 kB / 1.212 GB, free: 5.348 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.3246, allocations: 7.812 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.96e-05/0.3247, allocations: 29.7 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.3249, allocations: 326.8 kB / 1.212 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.325, allocations: 99.94 kB / 1.212 GB, free: 4.879 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.3251, allocations: 103.9 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/0.3254, allocations: 281.9 kB / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3254, allocations: 0 / 1.213 GB, free: 4.48 MB / 0.9669 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003709/0.3258, allocations: 324.8 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.281e-05/0.3259, allocations: 75.38 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3259, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.3259, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.3259, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3259, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/0.3261, allocations: 11.94 kB / 1.213 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3261, allocations: 4 kB / 1.213 GB, free: 4.043 MB / 0.9669 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.000118/0.3262, allocations: 159.5 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.006e-05/0.3263, allocations: 11.84 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.715e-05/0.3263, allocations: 8.25 kB / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3263, allocations: 0 / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3263, allocations: 0 / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3263, allocations: 0 / 1.213 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.3264, allocations: 173.6 kB / 1.213 GB, free: 3.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3264, allocations: 3.938 kB / 1.213 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-06/0.3264, allocations: 3.938 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.3265, allocations: 0 / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3265, allocations: 8 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.3265, allocations: 4 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3265, allocations: 0 / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002602/0.3267, allocations: 226.6 kB / 1.213 GB, free: 3.363 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.3268, allocations: 84.95 kB / 1.214 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3268, allocations: 4 kB / 1.214 GB, free: 3.258 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.233e-05/0.3269, allocations: 3.984 kB / 1.214 GB, free: 3.254 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.3269, allocations: 12.03 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.327, allocations: 4 kB / 1.214 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.07e-05/0.327, allocations: 104.7 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.327, allocations: 0 / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003257/0.3274, allocations: 71.92 kB / 1.214 GB, free: 3.066 MB / 0.9669 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.0007477/0.3281, allocations: 0.817 MB / 1.215 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.3285, allocations: 370.6 kB / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3286, allocations: 0 / 1.215 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.3287, allocations: 131.4 kB / 1.215 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.3289, allocations: 5.719 kB / 1.215 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.3311, allocations: 2.147 MB / 1.217 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.3315, allocations: 0.6924 MB / 1.218 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.125e-06/0.3315, allocations: 4 kB / 1.218 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.847e-05/0.3315, allocations: 15.44 kB / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3315, allocations: 0 / 1.218 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01956/0.3511, allocations: 3.359 MB / 1.221 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.654/8.005, allocations: 11.98 kB / 1.221 GB, free: 11.45 MB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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