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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 108 kB / 15.61 MB, free: 152 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.00179/0.00179, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.515/1.515, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.782/2.782, allocations: 472.6 MB / 0.7451 GB, free: 4.656 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 65.62 kB / 0.9121 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2893, allocations: 159.9 MB / 1.068 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001841/0.2912, allocations: 0.6172 MB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001875/0.2931, allocations: 1.379 MB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.273e-05/0.2932, allocations: 4 kB / 1.07 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.176e-05/0.2933, allocations: 3.938 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.457e-05/0.2933, allocations: 4 kB / 1.07 GB, free: 8.387 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000826/0.2941, allocations: 183.5 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2943, allocations: 47.89 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.906e-05/0.2943, allocations: 4 kB / 1.07 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.2944, allocations: 19.92 kB / 1.07 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.002e-05/0.2944, allocations: 23.97 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.2945, allocations: 4 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000344/0.2948, allocations: 203.7 kB / 1.071 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.2949, allocations: 11.94 kB / 1.071 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.184e-05/0.2949, allocations: 23.86 kB / 1.071 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002897/0.2952, allocations: 183.9 kB / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.2952, allocations: 0 / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of FrontEnd: time 4.409e-06/0.2952, allocations: 0 / 1.071 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.2953, allocations: 3.938 kB / 1.071 GB, free: 7.691 MB / 0.8262 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.0004622/0.2957, allocations: 446.6 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2958, allocations: 8.031 kB / 1.071 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.2958, allocations: 12.84 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.2959, allocations: 176.2 kB / 1.071 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.296, allocations: 4.375 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.296, allocations: 4.375 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.2962, allocations: 97.95 kB / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.2962, allocations: 0 / 1.072 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.2962, allocations: 4 kB / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2962, allocations: 0 / 1.072 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.632e-05/0.2963, allocations: 63.94 kB / 1.072 GB, free: 6.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.2965, allocations: 177.6 kB / 1.072 GB, free: 6.566 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.2966, allocations: 78.52 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.2967, allocations: 68.89 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.903e-06/0.2967, allocations: 4 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.2967, allocations: 34.5 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2967, allocations: 0 / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003835/0.2971, allocations: 255.1 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2972, allocations: 81.14 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.2973, allocations: 150.9 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.2973, allocations: 29.7 kB / 1.072 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.608e-05/0.2974, allocations: 92.12 kB / 1.073 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.2974, allocations: 11.81 kB / 1.073 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.646e-05/0.2975, allocations: 29.7 kB / 1.073 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.835e-05/0.2976, allocations: 318.8 kB / 1.073 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.2977, allocations: 103.9 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.2978, allocations: 103.9 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002504/0.2981, allocations: 277.9 kB / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2981, allocations: 0 / 1.073 GB, free: 4.855 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000326/0.2984, allocations: 320.8 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.175e-05/0.2985, allocations: 75.33 kB / 1.074 GB, free: 4.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2985, allocations: 4 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2985, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.91e-07/0.2985, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.2985, allocations: 0 / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001523/0.2987, allocations: 15.83 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.365e-05/0.2987, allocations: 12 kB / 1.074 GB, free: 4.406 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.0001007/0.2988, allocations: 153.1 kB / 1.074 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.2988, allocations: 11.84 kB / 1.074 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.651e-05/0.2988, allocations: 4.25 kB / 1.074 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.2988, allocations: 4 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.2989, allocations: 4 kB / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2989, allocations: 0 / 1.074 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.299, allocations: 173.6 kB / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.299, allocations: 0 / 1.074 GB, free: 3.992 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-06/0.299, allocations: 7.938 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.299, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.299, allocations: 3.984 kB / 1.074 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.299, allocations: 4 kB / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.299, allocations: 0 / 1.074 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.2993, allocations: 222.6 kB / 1.074 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.875e-05/0.2993, allocations: 92.94 kB / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.2993, allocations: 0 / 1.074 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.2994, allocations: 8.031 kB / 1.074 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.083e-05/0.2995, allocations: 11.98 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.2995, allocations: 4 kB / 1.074 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.296e-05/0.2996, allocations: 105.9 kB / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2996, allocations: 0 / 1.075 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003036/0.2999, allocations: 64 kB / 1.075 GB, free: 3.438 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.0002723/0.3001, allocations: 155.2 kB / 1.075 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.3005, allocations: 374.7 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3005, allocations: 0 / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.3007, allocations: 139.3 kB / 1.075 GB, free: 2.738 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.3008, allocations: 10.23 kB / 1.075 GB, free: 2.73 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.3012, allocations: 211.3 kB / 1.075 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.3014, allocations: 0.7003 MB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.833e-06/0.3014, allocations: 0 / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.848e-06/0.3015, allocations: 11.38 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3015, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of Templates: time 0.004663/0.3061, allocations: 2.048 MB / 1.078 GB, free: 15.71 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (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 & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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