Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006322/0.006322, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001136/0.001136, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001274/0.001274, allocations: 67.89 kB / 0.9509 GB, free: 7.637 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.069, allocations: 140.4 MB / 1.088 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001887/1.071, allocations: 0.6299 MB / 1.089 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0004689/1.072, allocations: 210.3 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.482e-05/1.072, allocations: 0.9062 kB / 1.089 GB, free: 5.004 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.562e-05/1.072, allocations: 3.938 kB / 1.089 GB, free: 5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001994/1.072, allocations: 10.69 kB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002234/1.072, allocations: 73.77 kB / 1.089 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.702e-05/1.072, allocations: 27.06 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.123e-05/1.072, allocations: 7.047 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/1.072, allocations: 15.11 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.281e-05/1.073, allocations: 24.62 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/1.073, allocations: 2.188 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002166/1.073, allocations: 105.3 kB / 1.089 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/1.073, allocations: 16.42 kB / 1.089 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/1.073, allocations: 12.64 kB / 1.089 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/1.073, allocations: 101.4 kB / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/1.073, allocations: 0 / 1.089 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.573e-06/1.073, allocations: 3.938 kB / 1.089 GB, free: 4.855 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.102e-06/1.073, allocations: 0.9375 kB / 1.089 GB, free: 4.855 MB / 0.8575 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.0005227/1.074, allocations: 371.9 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/1.074, allocations: 9.75 kB / 1.09 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/1.074, allocations: 5.875 kB / 1.09 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001293/1.074, allocations: 175.9 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/1.074, allocations: 1.844 kB / 1.09 GB, free: 4.273 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/1.074, allocations: 5.875 kB / 1.09 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/1.074, allocations: 53.88 kB / 1.09 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/1.074, allocations: 4.188 kB / 1.09 GB, free: 4.23 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/1.074, allocations: 5.062 kB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/1.074, allocations: 0 / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/1.074, allocations: 34.09 kB / 1.09 GB, free: 4.223 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002771/1.075, allocations: 256.8 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002026/1.075, allocations: 74.17 kB / 1.09 GB, free: 3.902 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.969e-05/1.075, allocations: 25.05 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/1.075, allocations: 2.062 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.009e-05/1.075, allocations: 32.2 kB / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/1.075, allocations: 0 / 1.09 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0251/1.1, allocations: 1.612 MB / 1.092 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.909e-05/1.1, allocations: 53.22 kB / 1.092 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/1.1, allocations: 124.9 kB / 1.092 GB, free: 3.477 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/1.1, allocations: 30.42 kB / 1.092 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.929e-05/1.1, allocations: 86.98 kB / 1.092 GB, free: 3.355 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.083e-05/1.1, allocations: 32.55 kB / 1.092 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002125/1.101, allocations: 24.89 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/1.101, allocations: 318.7 kB / 1.092 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005283/1.101, allocations: 141.2 kB / 1.093 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/1.102, allocations: 141.3 kB / 1.093 GB, free: 2.922 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/1.103, allocations: 295.6 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.103, allocations: 0 / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001243/1.104, allocations: 331.8 kB / 1.093 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/1.104, allocations: 9.984 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.104, allocations: 0.7812 kB / 1.093 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/1.104, allocations: 4.469 kB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.105, allocations: 64.72 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/1.106, allocations: 1.281 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/1.107, allocations: 49.78 kB / 1.093 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/1.107, allocations: 3.656 kB / 1.093 GB, free: 2.688 MB / 0.8575 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.0001381/1.107, allocations: 120.9 kB / 1.093 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.837e-05/1.107, allocations: 7.156 kB / 1.094 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001118/1.107, allocations: 20 kB / 1.094 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/1.107, allocations: 0.5938 kB / 1.094 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/1.107, allocations: 5.25 kB / 1.094 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.107, allocations: 0.5156 kB / 1.094 GB, free: 2.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005067/1.112, allocations: 0.8454 MB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/1.112, allocations: 0.9375 kB / 1.094 GB, free: 2.145 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009496/1.113, allocations: 55.97 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/1.113, allocations: 2.594 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.252e-05/1.113, allocations: 3.5 kB / 1.094 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/1.113, allocations: 8.594 kB / 1.094 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/1.113, allocations: 1.188 kB / 1.094 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009898/1.114, allocations: 320.3 kB / 1.095 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.424e-05/1.114, allocations: 85.98 kB / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.743e-05/1.114, allocations: 1.188 kB / 1.095 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008591/1.115, allocations: 48.02 kB / 1.095 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/1.115, allocations: 4.359 kB / 1.095 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/1.115, allocations: 4.203 kB / 1.095 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.188e-05/1.115, allocations: 92.08 kB / 1.095 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of sort global known variables: time 4.91e-07/1.115, allocations: 0 / 1.095 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004473/1.116, allocations: 100.4 kB / 1.095 GB, free: 1.754 MB / 0.8575 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.0002339/1.116, allocations: 116.7 kB / 1.095 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009969/1.117, allocations: 244.8 kB / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.117, allocations: 0 / 1.095 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004043/1.117, allocations: 100.2 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/1.118, allocations: 3.609 kB / 1.095 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/1.12, allocations: 306.7 kB / 1.096 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/1.12, allocations: 0.6846 MB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003672/1.121, allocations: 50.06 kB / 1.097 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003978/1.121, allocations: 15.95 kB / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of SimCode: time 2.9e-07/1.121, allocations: 0 / 1.097 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of Templates: time 0.02314/1.144, allocations: 8.752 MB / 1.105 GB, free: 316 kB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches