Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.CubicHermite,fileNamePrefix="Buildings_11_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.007236/0.007236, allocations: 98.81 kB / 15.73 MB, free: 6.008 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.001843/0.001843, allocations: 191.5 kB / 16.67 MB, free: 5.926 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.321/1.321, 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 11.1.0-maint.11.x/package.mo): time 2.492/2.492, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 71.81 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7463/0.7481, allocations: 159.1 MB / 1.22 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001732/0.7499, allocations: 0.6147 MB / 1.221 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.752, allocations: 1.382 MB / 1.222 GB, free: 56 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.907e-05/0.752, allocations: 3.938 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 5.876e-05/0.7521, allocations: 3.938 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.297e-05/0.7521, allocations: 7.984 kB / 1.222 GB, free: 40 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007125/0.7528, allocations: 173.2 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.753, allocations: 51.91 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.443e-05/0.753, allocations: 11.97 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.06e-05/0.7531, allocations: 15.98 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.148e-05/0.7531, allocations: 19.92 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.7532, allocations: 4 kB / 1.222 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004139/0.7536, allocations: 207.7 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.7537, allocations: 19.92 kB / 1.223 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.7537, allocations: 15.88 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.754, allocations: 183.2 kB / 1.223 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.754, allocations: 4 kB / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.503e-06/0.754, allocations: 0 / 1.223 GB, free: 15.35 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.754, allocations: 0 / 1.223 GB, free: 15.35 MB / 0.9512 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.0004987/0.7545, allocations: 446.3 kB / 1.223 GB, free: 14.86 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.7546, allocations: 12.03 kB / 1.223 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.7546, allocations: 38.73 kB / 1.223 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.7547, allocations: 12.89 kB / 1.223 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.7548, allocations: 176.2 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.7548, allocations: 4.312 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.838e-06/0.7548, allocations: 4.375 kB / 1.224 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.755, allocations: 97.77 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.755, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.7551, allocations: 0 / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7551, allocations: 4 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.505e-05/0.7552, allocations: 63.94 kB / 1.224 GB, free: 14.4 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002118/0.7554, allocations: 173.7 kB / 1.224 GB, free: 14.18 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.7555, allocations: 86.47 kB / 1.224 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.006e-05/0.7556, allocations: 64.89 kB / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.7556, allocations: 0 / 1.224 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.357e-05/0.7557, allocations: 38.5 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 9.91e-07/0.7557, allocations: 0 / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004133/0.7561, allocations: 255.2 kB / 1.224 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.7562, allocations: 81.14 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/0.7563, allocations: 155.5 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.7563, allocations: 25.7 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.7564, allocations: 100.1 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.7564, allocations: 7.953 kB / 1.225 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.7566, allocations: 29.7 kB / 1.225 GB, free: 13.28 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.7567, allocations: 318.8 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.7569, allocations: 99.94 kB / 1.225 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.757, allocations: 103.9 kB / 1.225 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002959/0.7573, allocations: 277.8 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.7573, allocations: 0 / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003737/0.7577, allocations: 320.8 kB / 1.226 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 6.526e-05/0.7578, allocations: 75.38 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.7578, allocations: 0 / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.7578, allocations: 3.938 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.454e-06/0.7578, allocations: 4 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.7578, allocations: 0 / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.758, allocations: 11.95 kB / 1.226 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.758, allocations: 8 kB / 1.226 GB, free: 12.02 MB / 0.9512 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.0001482/0.7582, allocations: 151.5 kB / 1.226 GB, free: 11.86 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.7582, allocations: 15.88 kB / 1.226 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.7582, allocations: 4.25 kB / 1.226 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.7582, allocations: 3.938 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7582, allocations: 7.938 kB / 1.226 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.7582, allocations: 4 kB / 1.226 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.7584, allocations: 169.6 kB / 1.226 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.7584, allocations: 3.938 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.671e-06/0.7584, allocations: 8 kB / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.7584, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.7584, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7584, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.7584, allocations: 0 / 1.226 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.7587, allocations: 230.6 kB / 1.226 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.7588, allocations: 89 kB / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.7588, allocations: 0 / 1.226 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.365e-05/0.7589, allocations: 8.031 kB / 1.226 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.7589, allocations: 11.98 kB / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.7589, allocations: 0 / 1.226 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001236/0.7591, allocations: 113.4 kB / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7591, allocations: 0 / 1.227 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002916/0.7594, allocations: 67.86 kB / 1.227 GB, free: 11.04 MB / 0.9512 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.0008722/0.7603, allocations: 0.8097 MB / 1.227 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005284/0.7608, allocations: 378.6 kB / 1.228 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7608, allocations: 0 / 1.228 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.761, allocations: 131.4 kB / 1.228 GB, free: 9.656 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001611/0.7611, allocations: 8 kB / 1.228 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.7637, allocations: 2.135 MB / 1.23 GB, free: 7.422 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.7642, allocations: 0.6962 MB / 1.231 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.674e-06/0.7642, allocations: 0 / 1.231 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.881e-05/0.7642, allocations: 19.47 kB / 1.231 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.7642, allocations: 0 / 1.231 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4431/1.207, allocations: 3.303 MB / 1.234 GB, free: 3.477 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.119/10.33, allocations: 14.58 kB / 1.234 GB, free: 3.465 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches