Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") translateModel(Buildings.Utilities.Math.Functions.Examples.CubicHermite,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y|yMonotone",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001838/0.001838, allocations: 195.5 kB / 16.14 MB, free: 6.629 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.495/1.495, allocations: 222.9 MB / 239.8 MB, free: 4.59 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.777/2.777, allocations: 437 MB / 0.71 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 64.12 kB / 0.8686 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6176/0.6197, allocations: 151.6 MB / 1.017 GB, free: 3 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001918/0.6217, allocations: 0.6822 MB / 1.017 GB, free: 2.316 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001918/0.6236, allocations: 1.42 MB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.253e-05/0.6236, allocations: 0 / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.921e-05/0.6237, allocations: 3.938 kB / 1.019 GB, free: 0.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.03e-05/0.6238, allocations: 4 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004923/0.6243, allocations: 135.5 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.304e-05/0.6243, allocations: 47.89 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.503e-05/0.6244, allocations: 4 kB / 1.019 GB, free: 0.6914 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.95e-05/0.6244, allocations: 15.98 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.993e-05/0.6245, allocations: 39.83 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.6245, allocations: 0 / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003015/0.6248, allocations: 187.7 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.241e-05/0.6249, allocations: 11.94 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.788e-05/0.6249, allocations: 19.86 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.6252, allocations: 187.6 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.6252, allocations: 4 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of FrontEnd: time 7.82e-07/0.6252, allocations: 0 / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.399e-06/0.6252, allocations: 4 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004841/0.6257, allocations: 440.8 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.6257, allocations: 12.03 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.97e-05/0.6258, allocations: 8.844 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.6259, allocations: 178.2 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.626, allocations: 4.312 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.626, allocations: 4.375 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.6262, allocations: 102 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.6262, allocations: 4 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.6262, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.6262, allocations: 0 / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.93e-05/0.6263, allocations: 59.95 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.6265, allocations: 173.6 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001257/0.6266, allocations: 82.45 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.6267, allocations: 72.89 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.6268, allocations: 0 / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.6268, allocations: 38.5 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.6268, allocations: 0 / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004122/0.6272, allocations: 251.2 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.6273, allocations: 85.05 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.6274, allocations: 141.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.6274, allocations: 25.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.611e-05/0.6275, allocations: 96.03 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.6275, allocations: 7.906 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.6276, allocations: 33.73 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.6277, allocations: 318.8 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001366/0.6279, allocations: 103.9 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.628, allocations: 99.94 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.6283, allocations: 277.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.6283, allocations: 4 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003811/0.6287, allocations: 324.8 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/0.6288, allocations: 72.64 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.6288, allocations: 3.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.6288, allocations: 4.062 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.143e-06/0.6288, allocations: 3.938 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.6288, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.629, allocations: 19.83 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.742e-05/0.629, allocations: 4 kB / 1.022 GB, free: 12.95 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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.0001089/0.6291, allocations: 143.5 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.653e-05/0.6292, allocations: 15.84 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.592e-05/0.6292, allocations: 8.25 kB / 1.022 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.6292, allocations: 7.938 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.6292, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-06/0.6292, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.6294, allocations: 173.6 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6294, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-06/0.6294, allocations: 4.078 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.6294, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.6294, allocations: 11.97 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.6294, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6294, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.6297, allocations: 230.6 kB / 1.023 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.6298, allocations: 88.94 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.6298, allocations: 4 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.717e-05/0.6298, allocations: 0 / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.6299, allocations: 11.98 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.6299, allocations: 4 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.69e-05/0.63, allocations: 105.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.63, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002863/0.6303, allocations: 68.03 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002791/0.6306, allocations: 151.7 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004359/0.631, allocations: 370.7 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.631, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.6312, allocations: 135.3 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001647/0.6314, allocations: 15.88 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003584/0.6317, allocations: 223.4 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.6321, allocations: 0.6926 MB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.701e-06/0.6321, allocations: 0 / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.598e-06/0.6321, allocations: 7.438 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6321, allocations: 0 / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of Templates: time 0.004764/0.6369, allocations: 1.923 MB / 1.027 GB, free: 8.391 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches