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.001135/0.001134, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001315/0.001315, allocations: 195 kB / 16.14 MB, free: 6.648 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.435/1.435, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.849/2.849, allocations: 472.7 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 67 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3406, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.002063/0.3427, allocations: 0.6797 MB / 1.068 GB, free: 10.19 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001957/0.3447, allocations: 1.422 MB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.265e-05/0.3448, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.3448, allocations: 0 / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.49e-05/0.3449, allocations: 3.938 kB / 1.07 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005893/0.3455, allocations: 139.8 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.888e-05/0.3456, allocations: 43.89 kB / 1.07 GB, free: 8.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.3456, allocations: 4 kB / 1.07 GB, free: 8.566 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.874e-05/0.3457, allocations: 15.92 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.3457, allocations: 23.97 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3457, allocations: 4 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.3461, allocations: 195.7 kB / 1.07 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.3461, allocations: 11.94 kB / 1.07 GB, free: 8.32 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.3462, allocations: 19.86 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.3465, allocations: 195.5 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3465, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3465, allocations: 0 / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3465, allocations: 0 / 1.07 GB, free: 8.109 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.0004272/0.347, allocations: 442.9 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.347, allocations: 12.03 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.347, allocations: 4.844 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.3472, allocations: 180.2 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.3472, allocations: 4.375 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.3472, allocations: 4.375 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.3474, allocations: 97.95 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.3474, allocations: 0 / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3474, allocations: 4 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.3474, allocations: 3.984 kB / 1.071 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.873e-05/0.3475, allocations: 63.89 kB / 1.071 GB, free: 7.207 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001422/0.3476, allocations: 169.7 kB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.3478, allocations: 82.52 kB / 1.071 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.257e-05/0.3478, allocations: 72.89 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.911e-06/0.3479, allocations: 0 / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.3479, allocations: 38.5 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.3479, allocations: 0 / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003714/0.3483, allocations: 255.1 kB / 1.072 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.996e-05/0.3483, allocations: 81.11 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.3484, allocations: 143.3 kB / 1.072 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3485, allocations: 33.7 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.234e-05/0.3485, allocations: 92.16 kB / 1.072 GB, free: 6.141 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.3485, allocations: 15.75 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.3486, allocations: 25.72 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.3487, allocations: 322.8 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.3488, allocations: 103.9 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.3489, allocations: 99.94 kB / 1.073 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002527/0.3492, allocations: 277.8 kB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.3492, allocations: 3.938 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003285/0.3495, allocations: 325 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.483e-05/0.3496, allocations: 75.33 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.3496, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.3496, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.12e-07/0.3496, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3496, allocations: 0 / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.3498, allocations: 23.77 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.3498, allocations: 4 kB / 1.073 GB, free: 4.824 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.0001036/0.3499, allocations: 153.3 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.959e-05/0.3499, allocations: 15.88 kB / 1.073 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.563e-05/0.35, allocations: 8.25 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.35, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.35, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.35, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001106/0.3501, allocations: 173.6 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3501, allocations: 0 / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-06/0.3501, allocations: 3.938 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3501, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3501, allocations: 7.984 kB / 1.074 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.3502, allocations: 3.938 kB / 1.074 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3502, allocations: 4 kB / 1.074 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.3504, allocations: 218.7 kB / 1.074 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.63e-05/0.3505, allocations: 92.94 kB / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.851e-05/0.3505, allocations: 0 / 1.074 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.743e-05/0.3505, allocations: 4 kB / 1.074 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.611e-05/0.3506, allocations: 11.98 kB / 1.074 GB, free: 4.027 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3506, allocations: 4 kB / 1.074 GB, free: 4.023 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.941e-05/0.3507, allocations: 113 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3507, allocations: 0 / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002794/0.351, allocations: 60 kB / 1.074 GB, free: 3.855 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.00027/0.3513, allocations: 151.2 kB / 1.074 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.3516, allocations: 374.6 kB / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3516, allocations: 0 / 1.075 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3518, allocations: 139.3 kB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001442/0.3519, allocations: 7.938 kB / 1.075 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.3523, allocations: 219.4 kB / 1.075 GB, free: 2.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.3525, allocations: 0.6965 MB / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.843e-06/0.3526, allocations: 0 / 1.076 GB, free: 2.188 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-06/0.3526, allocations: 7.438 kB / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.3526, allocations: 0 / 1.076 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.004353/0.3569, allocations: 1.918 MB / 1.077 GB, free: 272 kB / 0.8262 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