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.001427/0.001427, allocations: 108 kB / 15.61 MB, free: 152 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.001372/0.001372, allocations: 194.4 kB / 16.53 MB, free: 6.664 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.287/1.287, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.55/2.55, allocations: 469.8 MB / 0.7424 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001707/0.001707, allocations: 77.41 kB / 0.9087 GB, free: 34.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.246, allocations: 159.1 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001589/0.2476, allocations: 0.6262 MB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.2492, allocations: 1.382 MB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.097e-05/0.2493, allocations: 0 / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.26e-05/0.2493, allocations: 3.938 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.007e-05/0.2494, allocations: 4 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005362/0.2499, allocations: 184.1 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.666e-05/0.25, allocations: 47.97 kB / 1.066 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.225e-05/0.25, allocations: 3.984 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.2501, allocations: 23.92 kB / 1.066 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.823e-05/0.2501, allocations: 19.97 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2502, allocations: 4 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000295/0.2505, allocations: 195.7 kB / 1.067 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.523e-05/0.2505, allocations: 15.94 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.2505, allocations: 23.86 kB / 1.067 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.2508, allocations: 191.8 kB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.2508, allocations: 0 / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2508, allocations: 3.938 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.2508, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 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.0004184/0.2512, allocations: 446.6 kB / 1.067 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.2513, allocations: 8.031 kB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.713e-05/0.2513, allocations: 34.75 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.751e-05/0.2514, allocations: 4.844 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.2515, allocations: 180.2 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.2515, allocations: 4.375 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.2515, allocations: 8.312 kB / 1.067 GB, free: 10.69 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.2517, allocations: 93.77 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.981e-06/0.2517, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.2517, allocations: 4 kB / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-06/0.2517, allocations: 0 / 1.067 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.2518, allocations: 63.89 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001602/0.252, allocations: 173.7 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.2521, allocations: 82.53 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.712e-05/0.2522, allocations: 68.89 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.116e-06/0.2522, allocations: 0 / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.2522, allocations: 34.5 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2522, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0003657/0.2526, allocations: 255.1 kB / 1.068 GB, free: 9.84 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.2527, allocations: 85.09 kB / 1.068 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.2528, allocations: 151.3 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/0.2528, allocations: 29.7 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.807e-05/0.2529, allocations: 88.12 kB / 1.068 GB, free: 9.457 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.862e-05/0.2529, allocations: 11.81 kB / 1.068 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.253, allocations: 29.7 kB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.2531, allocations: 318.8 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.2532, allocations: 103.9 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.2533, allocations: 99.94 kB / 1.069 GB, free: 8.891 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002642/0.2536, allocations: 277.9 kB / 1.069 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2536, allocations: 3.938 kB / 1.069 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003447/0.254, allocations: 325 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/0.254, allocations: 68.8 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.254, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.254, allocations: 0 / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-06/0.254, allocations: 3.984 kB / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.2541, allocations: 0 / 1.07 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.2542, allocations: 15.78 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.2542, allocations: 8 kB / 1.07 GB, free: 8.152 MB / 0.8262 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.0001016/0.2543, allocations: 151.6 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.915e-05/0.2543, allocations: 11.84 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.126e-05/0.2543, allocations: 4.25 kB / 1.07 GB, free: 7.969 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.2543, allocations: 4 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2544, allocations: 3.984 kB / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.2544, allocations: 0 / 1.07 GB, free: 7.961 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.2545, allocations: 173.7 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.2545, allocations: 3.938 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.254e-06/0.2545, allocations: 3.984 kB / 1.07 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.2545, allocations: 4 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.928e-06/0.2545, allocations: 7.938 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.2545, allocations: 0 / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2545, allocations: 144 / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002623/0.2548, allocations: 234.6 kB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.581e-05/0.2548, allocations: 88.95 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.2549, allocations: 0 / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.331e-05/0.2549, allocations: 4.031 kB / 1.07 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.739e-05/0.255, allocations: 11.98 kB / 1.07 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-06/0.255, allocations: 4 kB / 1.07 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.075e-05/0.2551, allocations: 108.5 kB / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2551, allocations: 0 / 1.07 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002472/0.2553, allocations: 60 kB / 1.071 GB, free: 7.18 MB / 0.8262 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.000654/0.256, allocations: 0.817 MB / 1.071 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003801/0.2564, allocations: 370.7 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.2564, allocations: 0 / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.2565, allocations: 135.3 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001286/0.2566, allocations: 11.94 kB / 1.072 GB, free: 5.785 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.2587, allocations: 2.126 MB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2589, allocations: 0.7002 MB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.142e-06/0.259, allocations: 3.938 kB / 1.075 GB, free: 2.836 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.259, allocations: 19.38 kB / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.259, allocations: 0 / 1.075 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.174/1.433, allocations: 3.263 MB / 1.078 GB, free: 15.63 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.25/11.68, allocations: 13.05 kB / 1.078 GB, free: 15.62 MB / 0.8419 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