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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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.0008867/0.0008867, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.007049/0.007049, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.274/1.274, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.517/2.517, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003157, allocations: 15.94 kB / 0.9029 GB, free: 36.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2712, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006688/0.2719, allocations: 362.7 kB / 1.059 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.2737, allocations: 1.416 MB / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.2737, allocations: 0 / 1.061 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.552e-05/0.2738, allocations: 4 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.133e-05/0.2738, allocations: 4 kB / 1.061 GB, free: 3.055 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000522/0.2743, allocations: 131.7 kB / 1.061 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 7.427e-05/0.2744, allocations: 35.91 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.2745, allocations: 4 kB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.254e-05/0.2745, allocations: 27.91 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.2746, allocations: 27.97 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.2746, allocations: 0 / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.2749, allocations: 191.7 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.088e-05/0.275, allocations: 15.92 kB / 1.061 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.121e-05/0.275, allocations: 49.56 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.2753, allocations: 183.9 kB / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.2753, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.2753, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.2753, allocations: 0 / 1.061 GB, free: 2.395 MB / 0.8106 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.0003673/0.2757, allocations: 438.6 kB / 1.062 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.2757, allocations: 11.97 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/0.2758, allocations: 34.75 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.844e-05/0.2758, allocations: 0.9375 kB / 1.062 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.2759, allocations: 181.6 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.2759, allocations: 4.375 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.2759, allocations: 8.359 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2761, allocations: 97.77 kB / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.2761, allocations: 0 / 1.062 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.2761, allocations: 12 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.2762, allocations: 0 / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.515e-05/0.2762, allocations: 59.95 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.2764, allocations: 177.6 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.927e-05/0.2765, allocations: 78.47 kB / 1.062 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.972e-05/0.2766, allocations: 72.89 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.2766, allocations: 0 / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.2766, allocations: 42.5 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.2766, allocations: 0 / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.000352/0.277, allocations: 251.2 kB / 1.063 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.277, allocations: 89.03 kB / 1.063 GB, free: 0.6562 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.2772, allocations: 139.3 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.2772, allocations: 29.7 kB / 1.063 GB, free: 488 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.2772, allocations: 88.12 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.166e-05/0.2773, allocations: 19.8 kB / 1.063 GB, free: 376 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.2773, allocations: 21.7 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.91e-05/0.2774, allocations: 318.9 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.2775, allocations: 103.9 kB / 1.063 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.2777, allocations: 99.94 kB / 1.063 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002521/0.2779, allocations: 289.8 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2779, allocations: 3.938 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003283/0.2783, allocations: 320.8 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.265e-05/0.2783, allocations: 67.39 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2783, allocations: 0 / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.766e-06/0.2783, allocations: 0 / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.575e-06/0.2784, allocations: 4.062 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.2784, allocations: 3.938 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001288/0.2785, allocations: 19.83 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.702e-05/0.2785, allocations: 8 kB / 1.064 GB, free: 15.07 MB / 0.8262 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.0001029/0.2786, allocations: 147.5 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.2787, allocations: 7.938 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.311e-05/0.2787, allocations: 4.25 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2787, allocations: 0 / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.2787, allocations: 4 kB / 1.064 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.2787, allocations: 7.984 kB / 1.064 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.2788, allocations: 169.6 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.2788, allocations: 3.938 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.81e-07/0.2788, allocations: 4 kB / 1.064 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.2788, allocations: 3.984 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.2788, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2789, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2789, allocations: 0 / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002539/0.2791, allocations: 234.7 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.868e-05/0.2792, allocations: 88.95 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.2792, allocations: 0 / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.2792, allocations: 4 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.439e-05/0.2793, allocations: 8.125 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.2793, allocations: 4 kB / 1.065 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.697e-05/0.2794, allocations: 109.1 kB / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2794, allocations: 0 / 1.065 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002722/0.2797, allocations: 64 kB / 1.065 GB, free: 14.11 MB / 0.8262 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.000649/0.2803, allocations: 0.8194 MB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003557/0.2807, allocations: 374.6 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.2807, allocations: 0 / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.2809, allocations: 135.3 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001429/0.281, allocations: 12.16 kB / 1.066 GB, free: 12.71 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.2829, allocations: 2.129 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.2832, allocations: 0.7004 MB / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.971e-06/0.2832, allocations: 0 / 1.069 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.972e-05/0.2832, allocations: 15.44 kB / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of SimCode: time 3.01e-07/0.2832, allocations: 0 / 1.069 GB, free: 9.746 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01237/0.2956, allocations: 2.975 MB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.2958, allocations: 221.5 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/2.086, allocations: 0 / 1.072 GB, free: 6.652 MB / 0.8262 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