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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006608/0.006608, allocations: 97.48 kB / 15.73 MB, free: 5.988 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.00137/0.001371, allocations: 192.3 kB / 16.67 MB, free: 5.918 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.364/1.364, 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 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437.1 MB / 0.7106 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.91 kB / 1.018 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2649, allocations: 151.6 MB / 1.166 GB, free: 7.211 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.00153/0.2665, allocations: 0.6217 MB / 1.167 GB, free: 6.586 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001649/0.2682, allocations: 1.381 MB / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.2682, allocations: 0 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.343e-05/0.2682, allocations: 0 / 1.168 GB, free: 5.188 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.2683, allocations: 11.94 kB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005516/0.2688, allocations: 175.3 kB / 1.168 GB, free: 5.008 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.269, allocations: 47.95 kB / 1.168 GB, free: 4.961 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.122e-05/0.269, allocations: 3.984 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.626e-05/0.269, allocations: 19.92 kB / 1.168 GB, free: 4.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.438e-05/0.2691, allocations: 31.91 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.2691, allocations: 0 / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003206/0.2694, allocations: 207.7 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.2695, allocations: 11.98 kB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.2695, allocations: 27.8 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.2698, allocations: 191.6 kB / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.477 MB / 0.92 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.2698, allocations: 0 / 1.169 GB, free: 4.477 MB / 0.92 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.0004287/0.2703, allocations: 450.3 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 2.939e-05/0.2703, allocations: 8.031 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.2703, allocations: 38.75 kB / 1.169 GB, free: 3.922 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.2704, allocations: 4.891 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2705, allocations: 168.4 kB / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.2705, allocations: 384 / 1.17 GB, free: 3.715 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.2705, allocations: 4.375 kB / 1.17 GB, free: 3.711 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.2707, allocations: 97.77 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.2707, allocations: 3.938 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.2707, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.426e-06/0.2707, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.773e-05/0.2708, allocations: 59.95 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001603/0.271, allocations: 185.6 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001166/0.2711, allocations: 82.52 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.821e-05/0.2712, allocations: 68.89 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-06/0.2712, allocations: 3.938 kB / 1.17 GB, free: 3.152 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.2712, allocations: 38.5 kB / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 3.005e-06/0.2713, allocations: 0 / 1.17 GB, free: 3.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0003829/0.2716, allocations: 259.1 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.2717, allocations: 89.14 kB / 1.17 GB, free: 2.734 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.2718, allocations: 137.8 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.2719, allocations: 33.64 kB / 1.171 GB, free: 2.551 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.271e-05/0.2719, allocations: 96.08 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.698e-05/0.2719, allocations: 3.953 kB / 1.171 GB, free: 2.449 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.287e-05/0.272, allocations: 29.7 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.2721, allocations: 322.8 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001338/0.2723, allocations: 103.9 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.2724, allocations: 103.9 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003007/0.2727, allocations: 281.7 kB / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2727, allocations: 0 / 1.171 GB, free: 1.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003698/0.2731, allocations: 332.8 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 5.728e-05/0.2732, allocations: 69.27 kB / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.2732, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.207e-06/0.2732, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.32e-07/0.2732, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.546e-06/0.2732, allocations: 0 / 1.172 GB, free: 1.168 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.2733, allocations: 19.95 kB / 1.172 GB, free: 1.148 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.2733, allocations: 0 / 1.172 GB, free: 1.148 MB / 0.92 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.0001088/0.2734, allocations: 155.5 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.2735, allocations: 11.89 kB / 1.172 GB, free: 0.9688 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.49e-05/0.2735, allocations: 8.25 kB / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2735, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.2735, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-06/0.2735, allocations: 0 / 1.172 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.2736, allocations: 173.6 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2736, allocations: 3.938 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.234e-06/0.2737, allocations: 7.938 kB / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2737, allocations: 0 / 1.172 GB, free: 0.7227 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.2737, allocations: 4 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.2737, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.2737, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.274, allocations: 226.7 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.274, allocations: 85 kB / 1.172 GB, free: 380 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.274, allocations: 8 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.485e-05/0.2741, allocations: 8.016 kB / 1.173 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.2741, allocations: 4 kB / 1.173 GB, free: 360 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.2742, allocations: 4 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of sorting global known variables: time 7.538e-05/0.2742, allocations: 115.1 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2742, allocations: 0 / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002543/0.2745, allocations: 67.86 kB / 1.173 GB, free: 172 kB / 0.92 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.0007311/0.2752, allocations: 0.8169 MB / 1.173 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000401/0.2757, allocations: 370.6 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2757, allocations: 4 kB / 1.174 GB, free: 14.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001366/0.2758, allocations: 131.4 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000136/0.2759, allocations: 10.17 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002078/0.278, allocations: 2.135 MB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.2783, allocations: 0.6964 MB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.418e-06/0.2783, allocations: 0 / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.453e-05/0.2784, allocations: 23.47 kB / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.2784, allocations: 0 / 1.177 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3035/0.5819, allocations: 3.296 MB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.93, allocations: 8.016 kB / 1.18 GB, free: 8.594 MB / 0.9356 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=400 --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