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.005735/0.005735, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001393/0.001393, allocations: 194.4 kB / 16.68 MB, free: 5.969 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.406/2.406, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 67.89 kB / 1.019 GB, free: 9.355 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8606/0.8618, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001774/0.8637, allocations: 0.6392 MB / 1.167 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.000492/0.8642, allocations: 207.1 kB / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.76e-05/0.8642, allocations: 0 / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.896e-05/0.8642, allocations: 0 / 1.167 GB, free: 2.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.8644, allocations: 7.922 kB / 1.167 GB, free: 2.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.8647, allocations: 67.77 kB / 1.168 GB, free: 2.895 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.957e-05/0.8648, allocations: 39.83 kB / 1.168 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.987e-05/0.8648, allocations: 4 kB / 1.168 GB, free: 2.852 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.008e-05/0.8649, allocations: 19.92 kB / 1.168 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.624e-05/0.865, allocations: 19.92 kB / 1.168 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.865, allocations: 4 kB / 1.168 GB, free: 2.809 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001809/0.8652, allocations: 107.7 kB / 1.168 GB, free: 2.703 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.8652, allocations: 11.98 kB / 1.168 GB, free: 2.691 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.187e-05/0.8652, allocations: 15.86 kB / 1.168 GB, free: 2.676 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.8654, allocations: 103.3 kB / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.8655, allocations: 0 / 1.168 GB, free: 2.578 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8655, allocations: 3.938 kB / 1.168 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.8655, allocations: 0 / 1.168 GB, free: 2.574 MB / 0.8887 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.0006141/0.8661, allocations: 376.1 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.8661, allocations: 12.92 kB / 1.168 GB, free: 2.145 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.926e-05/0.8662, allocations: 4.891 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001809/0.8664, allocations: 168.4 kB / 1.168 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.8664, allocations: 4.375 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.8664, allocations: 4.375 kB / 1.168 GB, free: 1.93 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.8666, allocations: 58.17 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.8666, allocations: 192 / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.38e-05/0.8666, allocations: 3.938 kB / 1.168 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.8666, allocations: 4 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.8668, allocations: 31.97 kB / 1.168 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.8671, allocations: 256.9 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.8674, allocations: 78.39 kB / 1.169 GB, free: 1.441 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.065e-05/0.8674, allocations: 24.94 kB / 1.169 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.8675, allocations: 0 / 1.169 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.8675, allocations: 30.56 kB / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.8675, allocations: 0 / 1.169 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.02596/0.8935, allocations: 1.616 MB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.8936, allocations: 55.41 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.8937, allocations: 113.8 kB / 1.171 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 6.869e-05/0.8938, allocations: 29.64 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.576e-05/0.8938, allocations: 88.14 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.8939, allocations: 31.73 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.8941, allocations: 21.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.8942, allocations: 326.8 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004862/0.8947, allocations: 139.9 kB / 1.171 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004565/0.8952, allocations: 140.3 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009672/0.8962, allocations: 300.9 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.8962, allocations: 0 / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001175/0.8974, allocations: 337.5 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.728e-05/0.8974, allocations: 4 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.8974, allocations: 0 / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.8975, allocations: 4 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.8989, allocations: 67.92 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.8989, allocations: 0 / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.9001, allocations: 47.94 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.078e-05/0.9002, allocations: 4 kB / 1.172 GB, free: 14.02 MB / 0.9044 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.00016/0.9004, allocations: 117.7 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.849e-05/0.9005, allocations: 7.953 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001266/0.9006, allocations: 16.38 kB / 1.172 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.9006, allocations: 8 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.9006, allocations: 0 / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.9006, allocations: 3.984 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005351/0.906, allocations: 0.8377 MB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/0.906, allocations: 4 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.907, allocations: 51.94 kB / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.9071, allocations: 0 / 1.173 GB, free: 12.9 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.9071, allocations: 8 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.253e-06/0.9071, allocations: 7.875 kB / 1.173 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.9071, allocations: 4 kB / 1.173 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.908, allocations: 313.2 kB / 1.173 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.9081, allocations: 89.05 kB / 1.173 GB, free: 12.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.807e-05/0.9082, allocations: 8 kB / 1.174 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009577/0.9091, allocations: 43.89 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.9092, allocations: 7.938 kB / 1.174 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.703e-05/0.9092, allocations: 7.984 kB / 1.174 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.289e-05/0.9093, allocations: 99.25 kB / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9093, allocations: 0 / 1.174 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0004664/0.9098, allocations: 95.92 kB / 1.174 GB, free: 12.19 MB / 0.9044 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.000229/0.91, allocations: 119.1 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0009283/0.9109, allocations: 251.8 kB / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.9109, allocations: 0 / 1.174 GB, free: 11.82 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0003928/0.9113, allocations: 92.08 kB / 1.174 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003038/0.9117, allocations: 11.98 kB / 1.174 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.9141, allocations: 290.5 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.9144, allocations: 0.6851 MB / 1.175 GB, free: 10.69 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004091/0.9148, allocations: 55.97 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/0.9153, allocations: 15.44 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of SimCode: time 4.5e-07/0.9153, allocations: 0 / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of Templates: time 0.01261/0.9279, allocations: 8.75 MB / 1.184 GB, free: 1.828 MB / 0.9044 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=480 -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