Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.QuinticHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|dy|ddy",fileNamePrefix="Buildings_latest_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_latest_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.001299/0.001299, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001342/0.001342, allocations: 190 kB / 16.25 MB, free: 6.633 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.432/1.432, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.957/2.957, allocations: 482.3 MB / 0.7543 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001977/0.001977, allocations: 73.62 kB / 0.9233 GB, free: 29.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 162.2 MB / 1.082 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.002003/0.3342, allocations: 0.696 MB / 1.082 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004276/0.3346, allocations: 203.2 kB / 1.083 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.784e-05/0.3346, allocations: 3.938 kB / 1.083 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.673e-05/0.3347, allocations: 3.938 kB / 1.083 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.3348, allocations: 7.984 kB / 1.083 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002032/0.3351, allocations: 63.83 kB / 1.083 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.618e-05/0.3351, allocations: 19.98 kB / 1.083 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.3352, allocations: 8 kB / 1.083 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.592e-05/0.3352, allocations: 15.92 kB / 1.083 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.981e-05/0.3353, allocations: 31.84 kB / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.3353, allocations: 0 / 1.083 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.3355, allocations: 111.7 kB / 1.083 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.3355, allocations: 3.984 kB / 1.083 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.572e-05/0.3355, allocations: 15.88 kB / 1.083 GB, free: 12.45 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.3357, allocations: 111.8 kB / 1.083 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3357, allocations: 0 / 1.083 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3357, allocations: 0 / 1.083 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3357, allocations: 0 / 1.083 GB, free: 12.34 MB / 0.8419 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.000552/0.3363, allocations: 371.6 kB / 1.083 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3363, allocations: 8.031 kB / 1.083 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.3364, allocations: 12.83 kB / 1.083 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.3366, allocations: 168.3 kB / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3366, allocations: 384 / 1.084 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.3366, allocations: 8.375 kB / 1.084 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/0.3368, allocations: 50.23 kB / 1.084 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3368, allocations: 8.156 kB / 1.084 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.3368, allocations: 3.938 kB / 1.084 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3368, allocations: 7.938 kB / 1.084 GB, free: 11.62 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001321/0.337, allocations: 35.97 kB / 1.084 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003191/0.3373, allocations: 248.9 kB / 1.084 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000219/0.3375, allocations: 66.47 kB / 1.084 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.351e-05/0.3376, allocations: 32.92 kB / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.3376, allocations: 0 / 1.084 GB, free: 11.19 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.3377, allocations: 34.56 kB / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3377, allocations: 0 / 1.084 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.02925/0.3669, allocations: 1.612 MB / 1.086 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.367e-05/0.367, allocations: 55.34 kB / 1.086 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.3672, allocations: 117.8 kB / 1.086 GB, free: 9.332 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.596e-05/0.3672, allocations: 29.7 kB / 1.086 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.3673, allocations: 84.14 kB / 1.086 GB, free: 9.211 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.118e-05/0.3674, allocations: 35.53 kB / 1.086 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.3676, allocations: 21.72 kB / 1.086 GB, free: 9.148 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.3678, allocations: 322.8 kB / 1.086 GB, free: 8.824 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.3683, allocations: 139.9 kB / 1.086 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004903/0.3688, allocations: 143.9 kB / 1.086 GB, free: 8.547 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.3698, allocations: 297.3 kB / 1.087 GB, free: 8.254 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.3698, allocations: 7.938 kB / 1.087 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001242/0.3711, allocations: 333.4 kB / 1.087 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.3711, allocations: 8 kB / 1.087 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.3711, allocations: 0 / 1.087 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.3712, allocations: 4 kB / 1.087 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/0.3728, allocations: 67.86 kB / 1.087 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3728, allocations: 0 / 1.087 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001417/0.3742, allocations: 43.95 kB / 1.087 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.3743, allocations: 7.984 kB / 1.087 GB, free: 7.785 MB / 0.8419 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.0001982/0.3745, allocations: 117.8 kB / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.815e-05/0.3746, allocations: 0 / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001399/0.3748, allocations: 20.38 kB / 1.087 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3748, allocations: 4 kB / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3748, allocations: 0 / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3748, allocations: 0 / 1.087 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005922/0.3807, allocations: 0.8452 MB / 1.088 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/0.3807, allocations: 7.938 kB / 1.088 GB, free: 6.719 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.3819, allocations: 51.94 kB / 1.088 GB, free: 6.668 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.745e-06/0.3819, allocations: 3.984 kB / 1.088 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.382, allocations: 4 kB / 1.088 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.346e-05/0.382, allocations: 3.938 kB / 1.088 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.382, allocations: 0 / 1.088 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009616/0.383, allocations: 329.1 kB / 1.089 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.383, allocations: 81.53 kB / 1.089 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.742e-05/0.3831, allocations: 8 kB / 1.089 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/0.3842, allocations: 47.88 kB / 1.089 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.3842, allocations: 0 / 1.089 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.3843, allocations: 4 kB / 1.089 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.21e-05/0.3843, allocations: 95.27 kB / 1.089 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.71e-07/0.3843, allocations: 0 / 1.089 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004237/0.3848, allocations: 92 kB / 1.089 GB, free: 5.973 MB / 0.8419 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.000274/0.385, allocations: 119.6 kB / 1.089 GB, free: 5.848 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001003/0.3861, allocations: 251.8 kB / 1.089 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3861, allocations: 0 / 1.089 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004165/0.3865, allocations: 100.1 kB / 1.089 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.3868, allocations: 11.98 kB / 1.089 GB, free: 5.492 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.3896, allocations: 314.5 kB / 1.09 GB, free: 5.152 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/0.3899, allocations: 0.6885 MB / 1.09 GB, free: 4.438 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005584/0.3905, allocations: 48 kB / 1.09 GB, free: 4.391 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004435/0.3909, allocations: 19.42 kB / 1.09 GB, free: 4.371 MB / 0.8419 GB Notification: Performance of SimCode: time 3.6e-07/0.391, allocations: 3.938 kB / 1.09 GB, free: 4.367 MB / 0.8419 GB Notification: Performance of Templates: time 0.0162/0.4072, allocations: 8.748 MB / 1.099 GB, free: 11.57 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches