Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001744/0.001744, 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.001984/0.001984, allocations: 193.8 kB / 16.25 MB, free: 6.637 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.501/1.501, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.97/2.97, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 71.88 kB / 0.8688 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6197/0.6217, allocations: 151.6 MB / 1.017 GB, free: 2.895 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001946/0.6237, allocations: 0.7032 MB / 1.018 GB, free: 2.188 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000444/0.6242, allocations: 195.1 kB / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.89e-05/0.6242, allocations: 0 / 1.018 GB, free: 1.996 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.416e-05/0.6242, allocations: 4 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001581/0.6244, allocations: 7.938 kB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.6246, allocations: 67.81 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.522e-05/0.6247, allocations: 23.92 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.6247, allocations: 8 kB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.547e-05/0.6248, allocations: 15.92 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.326e-05/0.6248, allocations: 23.91 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.6249, allocations: 0 / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.625, allocations: 111.7 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.6251, allocations: 7.984 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.723e-05/0.6251, allocations: 15.86 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.6253, allocations: 107.8 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.6253, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.492e-06/0.6253, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.6253, allocations: 0 / 1.018 GB, free: 1.609 MB / 0.7637 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.0005835/0.6259, allocations: 373.5 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.6259, allocations: 8.031 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.626, allocations: 4.938 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.6261, allocations: 176.2 kB / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.196e-05/0.6262, allocations: 384 / 1.019 GB, free: 0.9727 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.6262, allocations: 8.375 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.6263, allocations: 54.17 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.6264, allocations: 4.188 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.6264, allocations: 7.922 kB / 1.019 GB, free: 0.8945 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.6264, allocations: 4 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001292/0.6265, allocations: 31.97 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003213/0.6269, allocations: 241 kB / 1.019 GB, free: 0.5742 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002144/0.6271, allocations: 78.39 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.237e-05/0.6272, allocations: 28.88 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.6272, allocations: 3.984 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.6272, allocations: 42.5 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6272, allocations: 0 / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of matching and sorting (n=8): time 0.02939/0.6566, allocations: 1.609 MB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.6567, allocations: 51.41 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.6568, allocations: 121.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 7.315e-05/0.6569, allocations: 25.7 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.657, allocations: 91.98 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.159e-05/0.6571, allocations: 23.7 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000217/0.6573, allocations: 29.7 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.6575, allocations: 322.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004973/0.658, allocations: 135.9 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004873/0.6585, allocations: 147.9 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009964/0.6595, allocations: 296.8 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.6595, allocations: 0 / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001234/0.6607, allocations: 337.9 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6607, allocations: 12 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6608, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.6608, allocations: 0 / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.6624, allocations: 67.92 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.6624, allocations: 0 / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.6638, allocations: 43.95 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.6639, allocations: 3.984 kB / 1.022 GB, free: 13.05 MB / 0.7794 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.0002071/0.6641, allocations: 122.3 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.6642, allocations: 3.906 kB / 1.022 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001394/0.6643, allocations: 20.38 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.6643, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6643, allocations: 3.938 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.6644, allocations: 0 / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005947/0.6703, allocations: 0.8377 MB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.6703, allocations: 4 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001125/0.6715, allocations: 51.94 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.6715, allocations: 0 / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.6715, allocations: 11.98 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.113e-06/0.6716, allocations: 11.94 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.6716, allocations: 0 / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.6726, allocations: 329.1 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.868e-05/0.6727, allocations: 85.02 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.62e-05/0.6727, allocations: 4 kB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/0.6738, allocations: 47.88 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.31e-05/0.6738, allocations: 64 / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.512e-05/0.6739, allocations: 8 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.295e-05/0.674, allocations: 99.27 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.674, allocations: 0 / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004253/0.6744, allocations: 92 kB / 1.024 GB, free: 11.23 MB / 0.7794 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.0002823/0.6747, allocations: 119.2 kB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001023/0.6757, allocations: 244.2 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6757, allocations: 0 / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.6762, allocations: 99.94 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.6765, allocations: 5.75 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.6792, allocations: 318.6 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.6795, allocations: 0.6892 MB / 1.025 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0005411/0.68, allocations: 48 kB / 1.025 GB, free: 9.656 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004442/0.6805, allocations: 15.42 kB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of SimCode: time 2.6e-07/0.6805, allocations: 4 kB / 1.025 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of Templates: time 0.01423/0.6947, allocations: 8.731 MB / 1.034 GB, free: 0.8633 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_QuinticHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.QuinticHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches