Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008153/0.0008153, allocations: 90.44 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.004984/0.004984, allocations: 172.5 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.469/1.469, allocations: 223.2 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 3.005/3.005, allocations: 470.6 MB / 0.7442 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003602/0.0003603, allocations: 11.56 kB / 0.9123 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3377, allocations: 161.4 MB / 1.07 GB, free: 11.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0009134/0.3387, allocations: 366.7 kB / 1.07 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0005484/0.3393, allocations: 201 kB / 1.07 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.3393, allocations: 3.938 kB / 1.07 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.594e-05/0.3393, allocations: 7.875 kB / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.3395, allocations: 4 kB / 1.07 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.3397, allocations: 63.83 kB / 1.071 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.316e-05/0.3398, allocations: 27.91 kB / 1.071 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.919e-05/0.3398, allocations: 8 kB / 1.071 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.835e-05/0.3399, allocations: 15.92 kB / 1.071 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.784e-05/0.34, allocations: 23.91 kB / 1.071 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.34, allocations: 4 kB / 1.071 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.3402, allocations: 111.7 kB / 1.071 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.515e-05/0.3402, allocations: 4 kB / 1.071 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.621e-05/0.3403, allocations: 45.56 kB / 1.071 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3405, allocations: 107.8 kB / 1.071 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3405, allocations: 0 / 1.071 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.225e-06/0.3405, allocations: 0 / 1.071 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.3405, allocations: 0 / 1.071 GB, free: 10.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005631/0.3411, allocations: 359.7 kB / 1.071 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3411, allocations: 16.03 kB / 1.071 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.046e-05/0.3411, allocations: 4.938 kB / 1.071 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001774/0.3413, allocations: 172.3 kB / 1.071 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3414, allocations: 4.375 kB / 1.071 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.3414, allocations: 384 / 1.071 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.3416, allocations: 58.22 kB / 1.071 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.3416, allocations: 192 / 1.071 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.3416, allocations: 11.94 kB / 1.071 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.3416, allocations: 4 kB / 1.071 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.3418, allocations: 43.91 kB / 1.071 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.3421, allocations: 244.9 kB / 1.072 GB, free: 9.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002397/0.3424, allocations: 86.56 kB / 1.072 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.097e-05/0.3425, allocations: 28.83 kB / 1.072 GB, free: 9.223 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.3425, allocations: 4 kB / 1.072 GB, free: 9.219 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.3425, allocations: 34.56 kB / 1.072 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3425, allocations: 7.938 kB / 1.072 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.03088/0.3734, allocations: 1.757 MB / 1.074 GB, free: 7.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.636e-05/0.3735, allocations: 51.41 kB / 1.074 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.3737, allocations: 129.8 kB / 1.074 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.483e-05/0.3737, allocations: 25.7 kB / 1.074 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.252e-05/0.3738, allocations: 88.05 kB / 1.074 GB, free: 7.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.708e-05/0.3739, allocations: 23.66 kB / 1.074 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.029e-05/0.374, allocations: 17.7 kB / 1.074 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3741, allocations: 318.8 kB / 1.074 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005239/0.3747, allocations: 163.9 kB / 1.074 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000536/0.3752, allocations: 155.9 kB / 1.075 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.3763, allocations: 340.7 kB / 1.075 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3763, allocations: 0 / 1.075 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001297/0.3776, allocations: 381.4 kB / 1.075 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3777, allocations: 7.938 kB / 1.075 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3777, allocations: 80 / 1.075 GB, free: 5.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3777, allocations: 4 kB / 1.075 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.3794, allocations: 79.89 kB / 1.075 GB, free: 5.598 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3795, allocations: 3.984 kB / 1.075 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/0.381, allocations: 55.94 kB / 1.075 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.117e-05/0.3811, allocations: 7.984 kB / 1.075 GB, free: 5.531 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0002131/0.3813, allocations: 121.8 kB / 1.075 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.658e-05/0.3814, allocations: 4.562 kB / 1.075 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.3815, allocations: 24.36 kB / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3815, allocations: 0 / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3815, allocations: 0 / 1.076 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.3816, allocations: 4 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006538/0.3881, allocations: 0.9118 MB / 1.076 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.3881, allocations: 3.938 kB / 1.076 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/0.3894, allocations: 75.91 kB / 1.076 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.3894, allocations: 4 kB / 1.076 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/0.3895, allocations: 3.984 kB / 1.076 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.3895, allocations: 11.92 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.3895, allocations: 0 / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.3906, allocations: 369 kB / 1.077 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/0.3906, allocations: 89 kB / 1.077 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/0.3907, allocations: 4 kB / 1.077 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.3919, allocations: 47.89 kB / 1.077 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.057e-05/0.3919, allocations: 4 kB / 1.077 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.69e-05/0.392, allocations: 20.03 kB / 1.077 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.076e-05/0.392, allocations: 91.27 kB / 1.077 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.392, allocations: 0 / 1.077 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000435/0.3925, allocations: 96 kB / 1.077 GB, free: 3.551 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.000267/0.3927, allocations: 115.2 kB / 1.077 GB, free: 3.43 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001041/0.3938, allocations: 287.8 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3938, allocations: 4 kB / 1.078 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004475/0.3943, allocations: 115.8 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3946, allocations: 4 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/0.3976, allocations: 352.4 kB / 1.078 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.3979, allocations: 0.6848 MB / 1.079 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005087/0.3984, allocations: 55.98 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004862/0.3989, allocations: 35.31 kB / 1.079 GB, free: 1.848 MB / 0.8262 GB Notification: Performance of SimCode: time 8.21e-07/0.3989, allocations: 3.938 kB / 1.079 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of Templates: time 0.01432/0.4133, allocations: 8.414 MB / 1.087 GB, free: 9.387 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches