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.004825/0.004825, allocations: 102 kB / 15.73 MB, free: 6.035 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.001062/0.001062, allocations: 196.2 kB / 16.68 MB, free: 5.953 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.181/1.181, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.111/2.111, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 67.89 kB / 0.9504 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6398, allocations: 140.4 MB / 1.088 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001557/0.6414, allocations: 0.5947 MB / 1.088 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.6428, allocations: 1.396 MB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.277e-05/0.6428, allocations: 1.062 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.985e-05/0.6429, allocations: 4.547 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.339e-05/0.6429, allocations: 2.609 kB / 1.089 GB, free: 3.887 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005326/0.6435, allocations: 176.1 kB / 1.09 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.608e-05/0.6436, allocations: 56.94 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.384e-05/0.6436, allocations: 3.625 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.353e-05/0.6436, allocations: 23.92 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.289e-05/0.6437, allocations: 24.52 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.347e-05/0.6437, allocations: 2.375 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003133/0.644, allocations: 201.3 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.918e-05/0.6441, allocations: 9.453 kB / 1.09 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.111e-05/0.6441, allocations: 28.89 kB / 1.09 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.6444, allocations: 185.9 kB / 1.09 GB, free: 3.664 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.6444, allocations: 4 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6444, allocations: 0.9688 kB / 1.09 GB, free: 3.66 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.6444, allocations: 0 / 1.09 GB, free: 3.66 MB / 0.8575 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.0003249/0.6448, allocations: 442.2 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.6448, allocations: 10.7 kB / 1.091 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.338e-05/0.6448, allocations: 36.25 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.6449, allocations: 9.016 kB / 1.091 GB, free: 3.16 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.123e-05/0.645, allocations: 169.7 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.645, allocations: 6.438 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.645, allocations: 2.531 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.6452, allocations: 101.5 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.911e-06/0.6452, allocations: 0.7031 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.6452, allocations: 1.344 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-06/0.6452, allocations: 0 / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.745e-05/0.6453, allocations: 59.98 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001027/0.6454, allocations: 179.7 kB / 1.091 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.695e-05/0.6455, allocations: 81.5 kB / 1.091 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.278e-05/0.6456, allocations: 74.98 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.277e-06/0.6456, allocations: 0 / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.192e-05/0.6456, allocations: 35.97 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.6456, allocations: 3.984 kB / 1.091 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003538/0.646, allocations: 256.3 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.646, allocations: 80.31 kB / 1.092 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.137e-05/0.6461, allocations: 147 kB / 1.092 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.6461, allocations: 26.77 kB / 1.092 GB, free: 2.285 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.6462, allocations: 101.3 kB / 1.092 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.6462, allocations: 10.89 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.6462, allocations: 32.64 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.62e-05/0.6463, allocations: 320.2 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.6464, allocations: 101.1 kB / 1.092 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001204/0.6465, allocations: 102.3 kB / 1.092 GB, free: 1.816 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.6468, allocations: 273.7 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6468, allocations: 0.7188 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003282/0.6471, allocations: 334.3 kB / 1.093 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.6472, allocations: 73.25 kB / 1.093 GB, free: 1.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6472, allocations: 4.438 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.6472, allocations: 0.6875 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.6472, allocations: 0.7812 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.6472, allocations: 0.7969 kB / 1.093 GB, free: 1.473 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.6473, allocations: 10.23 kB / 1.093 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.6474, allocations: 4.359 kB / 1.093 GB, free: 1.469 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: 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 7.183e-05/0.6474, allocations: 151.9 kB / 1.093 GB, free: 1.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.6474, allocations: 15.95 kB / 1.093 GB, free: 1.309 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.256e-05/0.6475, allocations: 6.766 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.6475, allocations: 0.6562 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.6475, allocations: 0 / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.6475, allocations: 1.328 kB / 1.093 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.872e-05/0.6476, allocations: 172.1 kB / 1.093 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.6476, allocations: 3.938 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.71e-07/0.6476, allocations: 1.719 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.6476, allocations: 0 / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.6476, allocations: 2.578 kB / 1.093 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.6476, allocations: 5.031 kB / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.6476, allocations: 0 / 1.093 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002441/0.6478, allocations: 228.6 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.6479, allocations: 92.34 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.596e-05/0.6479, allocations: 2.188 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.6479, allocations: 4 kB / 1.094 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.071e-05/0.648, allocations: 11.08 kB / 1.094 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.648, allocations: 6.5 kB / 1.094 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.219e-05/0.6481, allocations: 110.5 kB / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6481, allocations: 0 / 1.094 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000265/0.6483, allocations: 65.7 kB / 1.094 GB, free: 0.7734 MB / 0.8575 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.0006001/0.6489, allocations: 0.8131 MB / 1.095 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004224/0.6494, allocations: 381 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6494, allocations: 0.8125 kB / 1.095 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.6495, allocations: 133.6 kB / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001338/0.6497, allocations: 3.844 kB / 1.095 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.6516, allocations: 2.126 MB / 1.097 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.6518, allocations: 0.6911 MB / 1.098 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.849e-06/0.6519, allocations: 192 / 1.098 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.6519, allocations: 18.14 kB / 1.098 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of SimCode: time 2.8e-07/0.6519, allocations: 3.938 kB / 1.098 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.351/2.003, allocations: 3.292 MB / 1.101 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/12.17, allocations: 13.45 kB / 1.101 GB, free: 13.29 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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