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.004772/0.004772, allocations: 100.3 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.001145/0.001145, allocations: 188 kB / 16.67 MB, free: 5.91 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.649/2.649, allocations: 469.8 MB / 0.7425 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 68.12 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8864/0.8879, allocations: 159.1 MB / 1.221 GB, free: 2.141 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.0016/0.8895, allocations: 0.6447 MB / 1.221 GB, free: 1.5 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004073/0.8899, allocations: 191.2 kB / 1.221 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.501e-05/0.8899, allocations: 0 / 1.221 GB, free: 1.312 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.8899, allocations: 3.938 kB / 1.221 GB, free: 1.309 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.8901, allocations: 7.938 kB / 1.221 GB, free: 1.301 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001779/0.8902, allocations: 79.69 kB / 1.222 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.84e-05/0.8903, allocations: 31.91 kB / 1.222 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.54e-05/0.8903, allocations: 0 / 1.222 GB, free: 1.191 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.052e-05/0.8904, allocations: 19.92 kB / 1.222 GB, free: 1.172 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.16e-05/0.8904, allocations: 15.92 kB / 1.222 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.8905, allocations: 7.984 kB / 1.222 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001621/0.8906, allocations: 111.7 kB / 1.222 GB, free: 1.039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.316e-05/0.8906, allocations: 7.984 kB / 1.222 GB, free: 1.031 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.8907, allocations: 15.88 kB / 1.222 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.8908, allocations: 100.2 kB / 1.222 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8908, allocations: 0 / 1.222 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.122e-06/0.8908, allocations: 0 / 1.222 GB, free: 0.9219 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.868e-06/0.8908, allocations: 4 kB / 1.222 GB, free: 0.918 MB / 0.9356 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.0005028/0.8913, allocations: 371.1 kB / 1.222 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.8914, allocations: 12.03 kB / 1.222 GB, free: 0.4922 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.8914, allocations: 4.891 kB / 1.222 GB, free: 500 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.8915, allocations: 176.4 kB / 1.222 GB, free: 284 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.8916, allocations: 4.375 kB / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.754e-05/0.8916, allocations: 384 / 1.222 GB, free: 280 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.8917, allocations: 54.23 kB / 1.222 GB, free: 220 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.8917, allocations: 4.141 kB / 1.222 GB, free: 216 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8917, allocations: 7.938 kB / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.8917, allocations: 0 / 1.222 GB, free: 208 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001246/0.8919, allocations: 39.89 kB / 1.222 GB, free: 168 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000266/0.8921, allocations: 245 kB / 1.223 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.8923, allocations: 70.45 kB / 1.223 GB, free: 15.8 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.654e-05/0.8924, allocations: 24.94 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.8924, allocations: 3.938 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.8924, allocations: 46.42 kB / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.8924, allocations: 0 / 1.223 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.02876/0.9212, allocations: 1.613 MB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.9212, allocations: 51.41 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.9214, allocations: 117.8 kB / 1.225 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 5.936e-05/0.9214, allocations: 25.7 kB / 1.225 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.146e-05/0.9215, allocations: 88.12 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 7.316e-05/0.9215, allocations: 27.75 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.9217, allocations: 29.7 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.9218, allocations: 322.8 kB / 1.225 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.9223, allocations: 139.9 kB / 1.225 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004722/0.9228, allocations: 147.9 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009966/0.9238, allocations: 300.7 kB / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.9238, allocations: 0 / 1.226 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001185/0.925, allocations: 334 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.925, allocations: 8 kB / 1.226 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.925, allocations: 4 kB / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.925, allocations: 96 / 1.226 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.9266, allocations: 63.88 kB / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.9266, allocations: 0 / 1.226 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/0.9279, allocations: 47.94 kB / 1.226 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.9279, allocations: 0 / 1.226 GB, free: 12.36 MB / 0.9512 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.0001791/0.9281, allocations: 117.8 kB / 1.226 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.06e-05/0.9282, allocations: 15.94 kB / 1.226 GB, free: 12.22 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001135/0.9283, allocations: 16.38 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.866e-06/0.9283, allocations: 0 / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.9283, allocations: 4 kB / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.9283, allocations: 0 / 1.226 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005573/0.9339, allocations: 0.8338 MB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.9339, allocations: 4 kB / 1.227 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.935, allocations: 51.94 kB / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.935, allocations: 0 / 1.227 GB, free: 11.25 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.715e-05/0.935, allocations: 15.92 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.109e-06/0.935, allocations: 3.938 kB / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.935, allocations: 0 / 1.227 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009468/0.936, allocations: 325.2 kB / 1.227 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.518e-05/0.936, allocations: 89.06 kB / 1.227 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.757e-05/0.9361, allocations: 4 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001053/0.9372, allocations: 43.89 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.9372, allocations: 7.984 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.756e-05/0.9372, allocations: 0 / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.546e-05/0.9373, allocations: 99.27 kB / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.9373, allocations: 0 / 1.228 GB, free: 10.63 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004104/0.9377, allocations: 87.94 kB / 1.228 GB, free: 10.54 MB / 0.9512 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.0002841/0.938, allocations: 139 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.939, allocations: 235.9 kB / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.939, allocations: 0 / 1.228 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.9394, allocations: 104 kB / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.9397, allocations: 480 / 1.228 GB, free: 10.07 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.9424, allocations: 306.3 kB / 1.228 GB, free: 9.734 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.9427, allocations: 0.6962 MB / 1.229 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0003982/0.9431, allocations: 48 kB / 1.229 GB, free: 8.965 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.9436, allocations: 19.36 kB / 1.229 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of SimCode: time 1.042e-06/0.9436, allocations: 0 / 1.229 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of Templates: time 0.01223/0.9558, allocations: 8.75 MB / 1.238 GB, free: 156 kB / 0.9512 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=480 -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