Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.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.283/2.283, allocations: 390.2 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001352, allocations: 68.09 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5945/0.5958, allocations: 140.4 MB / 0.9497 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001568/0.5974, allocations: 0.6041 MB / 0.9503 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001293/0.5988, allocations: 1.379 MB / 0.9517 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.5988, allocations: 1.344 kB / 0.9517 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.5988, allocations: 3.938 kB / 0.9517 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.365e-05/0.5989, allocations: 2.781 kB / 0.9517 GB, free: 7.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005221/0.5994, allocations: 180.5 kB / 0.9518 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.472e-05/0.5995, allocations: 61.45 kB / 0.9519 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.5995, allocations: 2.625 kB / 0.9519 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.115e-05/0.5996, allocations: 16.86 kB / 0.9519 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.5996, allocations: 29.14 kB / 0.952 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.5997, allocations: 7.594 kB / 0.952 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.5999, allocations: 193.7 kB / 0.9521 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.6, allocations: 14.42 kB / 0.9522 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.363e-05/0.6, allocations: 23.19 kB / 0.9522 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.6002, allocations: 186.8 kB / 0.9524 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.6002, allocations: 0 / 0.9524 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6002, allocations: 4 kB / 0.9524 GB, free: 7.285 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.6003, allocations: 0 / 0.9524 GB, free: 7.285 MB / 0.7169 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.0002959/0.6006, allocations: 445.7 kB / 0.9528 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.6006, allocations: 9.062 kB / 0.9528 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.135e-05/0.6006, allocations: 33.03 kB / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.895e-05/0.6007, allocations: 3.5 kB / 0.9528 GB, free: 6.781 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.903e-05/0.6007, allocations: 182.7 kB / 0.953 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.6007, allocations: 5.688 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.6008, allocations: 2.719 kB / 0.953 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.6009, allocations: 105.4 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.431e-06/0.6009, allocations: 0 / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.6009, allocations: 1.344 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.6009, allocations: 1.188 kB / 0.9531 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.601, allocations: 59.3 kB / 0.9532 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.998e-05/0.6011, allocations: 181 kB / 0.9533 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.345e-05/0.6012, allocations: 80.81 kB / 0.9534 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.402e-05/0.6013, allocations: 70.64 kB / 0.9535 GB, free: 6.203 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-06/0.6013, allocations: 7.984 kB / 0.9535 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.458e-05/0.6013, allocations: 35.66 kB / 0.9535 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 9.22e-07/0.6013, allocations: 3.938 kB / 0.9535 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003302/0.6017, allocations: 250.8 kB / 0.9538 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.6017, allocations: 87.19 kB / 0.9539 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.034e-05/0.6018, allocations: 139.7 kB / 0.954 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.6018, allocations: 26.86 kB / 0.954 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.6018, allocations: 95.62 kB / 0.9541 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.95e-05/0.6019, allocations: 18.31 kB / 0.9541 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.246e-05/0.6019, allocations: 29.33 kB / 0.9542 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.622e-05/0.602, allocations: 317.1 kB / 0.9545 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.6021, allocations: 99.95 kB / 0.9545 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.6022, allocations: 100.7 kB / 0.9546 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.6024, allocations: 284.8 kB / 0.9549 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6024, allocations: 0 / 0.9549 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002819/0.6027, allocations: 320.3 kB / 0.9552 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.6027, allocations: 80.03 kB / 0.9553 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.6027, allocations: 3.938 kB / 0.9553 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.6028, allocations: 0 / 0.9553 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.6028, allocations: 5.719 kB / 0.9553 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.6028, allocations: 0 / 0.9553 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.6029, allocations: 9.219 kB / 0.9553 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.6029, allocations: 3.625 kB / 0.9553 GB, free: 4.852 MB / 0.7169 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 6.624e-05/0.603, allocations: 147.2 kB / 0.9555 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.603, allocations: 11.41 kB / 0.9555 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.101e-05/0.603, allocations: 17.67 kB / 0.9555 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.603, allocations: 1.344 kB / 0.9555 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.603, allocations: 0 / 0.9555 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.603, allocations: 0 / 0.9555 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.258e-05/0.6031, allocations: 169.3 kB / 0.9557 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.6031, allocations: 3.938 kB / 0.9557 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.6031, allocations: 0 / 0.9557 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.6031, allocations: 1.188 kB / 0.9557 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.6031, allocations: 6.469 kB / 0.9557 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.6031, allocations: 0 / 0.9557 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.6031, allocations: 0 / 0.9557 GB, free: 4.465 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000208/0.6033, allocations: 233.8 kB / 0.9559 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.6034, allocations: 87.58 kB / 0.956 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.829e-05/0.6034, allocations: 9.281 kB / 0.956 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.616e-05/0.6034, allocations: 3.969 kB / 0.956 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.6035, allocations: 10.73 kB / 0.956 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-06/0.6035, allocations: 3.656 kB / 0.956 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.513e-05/0.6036, allocations: 105.8 kB / 0.9561 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9e-08/0.6036, allocations: 4.031 kB / 0.9561 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002713/0.6038, allocations: 63.91 kB / 0.9562 GB, free: 4.102 MB / 0.7169 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.000507/0.6044, allocations: 0.8108 MB / 0.957 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003194/0.6047, allocations: 369.5 kB / 0.9573 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.6047, allocations: 4.094 kB / 0.9573 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.6048, allocations: 139.7 kB / 0.9574 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.605, allocations: 4.125 kB / 0.9574 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001614/0.6066, allocations: 2.127 MB / 0.9595 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000102/0.6067, allocations: 0.6906 MB / 0.9602 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.332e-06/0.6067, allocations: 0 / 0.9602 GB, free: 0.8594 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.366e-05/0.6067, allocations: 16.53 kB / 0.9602 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.6067, allocations: 4.219 kB / 0.9602 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01799/0.6247, allocations: 3.282 MB / 0.9634 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/7.95, allocations: 4.312 kB / 0.9634 GB, free: 15.12 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches