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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.QuinticHermite,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite",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.007554/0.007554, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.001693/0.001693, allocations: 188.6 kB / 16.67 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.419/1.419, allocations: 222.9 MB / 240.4 MB, free: 4.324 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.451/2.451, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 64.3 kB / 0.9504 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2512, allocations: 140.4 MB / 1.088 GB, free: 2.078 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.QuinticHermite): time 0.001619/0.2528, allocations: 0.631 MB / 1.088 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004378/0.2533, allocations: 207.5 kB / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.2533, allocations: 0 / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.2534, allocations: 3.938 kB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001585/0.2535, allocations: 7.922 kB / 1.088 GB, free: 1.234 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.2538, allocations: 75.75 kB / 1.088 GB, free: 1.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.111e-05/0.2538, allocations: 19.98 kB / 1.088 GB, free: 1.141 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.2539, allocations: 7.984 kB / 1.088 GB, free: 1.133 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.602e-05/0.2539, allocations: 11.94 kB / 1.088 GB, free: 1.121 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.79e-05/0.254, allocations: 35.77 kB / 1.088 GB, free: 1.086 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.254, allocations: 8 kB / 1.088 GB, free: 1.078 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.2542, allocations: 103.7 kB / 1.089 GB, free: 0.9766 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.2542, allocations: 11.92 kB / 1.089 GB, free: 0.9648 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.455e-05/0.2542, allocations: 11.92 kB / 1.089 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00016/0.2544, allocations: 103.8 kB / 1.089 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.2544, allocations: 0 / 1.089 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2544, allocations: 0 / 1.089 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.2544, allocations: 0 / 1.089 GB, free: 0.8516 MB / 0.8419 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.0004996/0.2549, allocations: 370.2 kB / 1.089 GB, free: 452 kB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.255, allocations: 12.02 kB / 1.089 GB, free: 440 kB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.895e-05/0.255, allocations: 34.75 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.721e-05/0.2551, allocations: 4.844 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001251/0.2552, allocations: 165.2 kB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.2552, allocations: 8.375 kB / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.2552, allocations: 384 / 1.089 GB, free: 180 kB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.2554, allocations: 58.22 kB / 1.089 GB, free: 116 kB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.2554, allocations: 7.875 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.955e-06/0.2554, allocations: 4 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2554, allocations: 0 / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001358/0.2556, allocations: 39.91 kB / 1.089 GB, free: 64 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000274/0.2558, allocations: 252.8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002106/0.2561, allocations: 74.45 kB / 1.09 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.612e-05/0.2562, allocations: 24.94 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.2562, allocations: 0 / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.2562, allocations: 30.56 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.2562, allocations: 0 / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.02962/0.2858, allocations: 1.612 MB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.2859, allocations: 55.41 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.286, allocations: 117.8 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.784e-05/0.2861, allocations: 25.7 kB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.229e-05/0.2861, allocations: 88.14 kB / 1.092 GB, free: 13.68 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.829e-05/0.2862, allocations: 31.91 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.2864, allocations: 21.72 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.692e-05/0.2866, allocations: 330.8 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004969/0.2871, allocations: 139.9 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004717/0.2875, allocations: 143.9 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000991/0.2885, allocations: 300.7 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2886, allocations: 0 / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001197/0.2898, allocations: 329.6 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/0.2898, allocations: 4 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.2898, allocations: 4 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2898, allocations: 0 / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.2915, allocations: 67.86 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2915, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.293, allocations: 44.38 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-05/0.2931, allocations: 7.984 kB / 1.093 GB, free: 12.27 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.0001632/0.2932, allocations: 113.8 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.207e-05/0.2933, allocations: 11.91 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000129/0.2935, allocations: 16.38 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.2935, allocations: 7.984 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2935, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2935, allocations: 3.938 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00617/0.2997, allocations: 0.853 MB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.2997, allocations: 0 / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.3009, allocations: 51.94 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.301, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.383e-05/0.301, allocations: 12.22 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.301, allocations: 0 / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.301, allocations: 4 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009398/0.302, allocations: 321.2 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.206e-05/0.302, allocations: 93.02 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.3021, allocations: 7.938 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001147/0.3033, allocations: 43.94 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.165e-05/0.3033, allocations: 4 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/0.3033, allocations: 4 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.3034, allocations: 95.27 kB / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3034, allocations: 0 / 1.095 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003973/0.3038, allocations: 95.98 kB / 1.095 GB, free: 10.43 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.001295/0.3051, allocations: 0.874 MB / 1.095 GB, free: 9.523 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009891/0.3061, allocations: 244 kB / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3061, allocations: 0 / 1.096 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.3066, allocations: 91.95 kB / 1.096 GB, free: 9.195 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002889/0.3069, allocations: 20 kB / 1.096 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.3135, allocations: 2.67 MB / 1.098 GB, free: 6.414 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.3137, allocations: 0.6885 MB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004235/0.3142, allocations: 51.98 kB / 1.099 GB, free: 5.648 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000478/0.3147, allocations: 27.41 kB / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of SimCode: time 7.11e-07/0.3147, allocations: 0 / 1.099 GB, free: 5.621 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02847/0.3431, allocations: 10.23 MB / 1.109 GB, free: 11.44 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.922/8.266, allocations: 2.672 kB / 1.109 GB, free: 11.44 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.QuinticHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_QuinticHermite.fmu > 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/jenkins1/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