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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0007145/0.0007145, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.003969/0.003969, allocations: 170.9 kB / 16.27 MB, free: 6.648 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.262/1.262, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.114/2.114, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002867, allocations: 12.19 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5523/0.5526, allocations: 142.4 MB / 0.9552 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.000661/0.5533, allocations: 349.6 kB / 0.9555 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.5547, allocations: 1.397 MB / 0.9569 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.948e-05/0.5547, allocations: 0 / 0.9569 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.871e-05/0.5548, allocations: 5.016 kB / 0.9569 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.5549, allocations: 4.969 kB / 0.9569 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004346/0.5553, allocations: 130.3 kB / 0.957 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.5554, allocations: 44.7 kB / 0.957 GB, free: 6.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.97e-05/0.5554, allocations: 9.078 kB / 0.9571 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.478e-05/0.5555, allocations: 18.42 kB / 0.9571 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.92e-05/0.5555, allocations: 28.78 kB / 0.9571 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.363e-05/0.5555, allocations: 3.156 kB / 0.9571 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000244/0.5558, allocations: 184.1 kB / 0.9573 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.872e-05/0.5558, allocations: 21.66 kB / 0.9573 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.894e-05/0.5559, allocations: 48.94 kB / 0.9573 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.5561, allocations: 185.7 kB / 0.9575 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.5561, allocations: 0 / 0.9575 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5561, allocations: 0 / 0.9575 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.556e-06/0.5561, allocations: 4 kB / 0.9575 GB, free: 6.047 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.0002707/0.5564, allocations: 435.6 kB / 0.9579 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.5564, allocations: 8.625 kB / 0.958 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.361e-05/0.5565, allocations: 33.16 kB / 0.958 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.5565, allocations: 12.22 kB / 0.958 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.742e-05/0.5566, allocations: 167.8 kB / 0.9582 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.5566, allocations: 2.656 kB / 0.9582 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.5566, allocations: 3 kB / 0.9582 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.5567, allocations: 109.1 kB / 0.9583 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-06/0.5568, allocations: 4 kB / 0.9583 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.5568, allocations: 2.031 kB / 0.9583 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.5568, allocations: 0 / 0.9583 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.335e-05/0.5569, allocations: 64.16 kB / 0.9583 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.557, allocations: 172.3 kB / 0.9585 GB, free: 5.043 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 9.315e-05/0.5571, allocations: 80.88 kB / 0.9586 GB, free: 5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.21e-05/0.5571, allocations: 70.55 kB / 0.9586 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.883e-06/0.5572, allocations: 3.938 kB / 0.9586 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/0.5572, allocations: 47.92 kB / 0.9587 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.5572, allocations: 0 / 0.9587 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0003027/0.5575, allocations: 246.7 kB / 0.9589 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.665e-05/0.5575, allocations: 83.86 kB / 0.959 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.917e-05/0.5576, allocations: 146.8 kB / 0.9591 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.5576, allocations: 27.08 kB / 0.9592 GB, free: 4.547 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.94e-05/0.5577, allocations: 86.89 kB / 0.9593 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.5577, allocations: 21.19 kB / 0.9593 GB, free: 4.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.5577, allocations: 20.59 kB / 0.9593 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.123e-05/0.5578, allocations: 320.2 kB / 0.9596 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.5579, allocations: 100.8 kB / 0.9597 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.878e-05/0.558, allocations: 108.7 kB / 0.9598 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002104/0.5582, allocations: 275.9 kB / 0.9601 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.5582, allocations: 0 / 0.9601 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002969/0.5585, allocations: 321.5 kB / 0.9604 GB, free: 3.711 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.5586, allocations: 74.41 kB / 0.9604 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.5586, allocations: 1.031 kB / 0.9604 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.5586, allocations: 4 kB / 0.9604 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.5586, allocations: 1 kB / 0.9604 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.5586, allocations: 0 / 0.9604 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.5587, allocations: 10.88 kB / 0.9605 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.5587, allocations: 3.969 kB / 0.9605 GB, free: 3.629 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 8.553e-05/0.5588, allocations: 154.4 kB / 0.9606 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.536e-05/0.5589, allocations: 15.81 kB / 0.9606 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.131e-05/0.5589, allocations: 5.375 kB / 0.9606 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.5589, allocations: 5.188 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.5589, allocations: 0 / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.5589, allocations: 0.7812 kB / 0.9606 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.095e-05/0.559, allocations: 172.9 kB / 0.9608 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.559, allocations: 3.938 kB / 0.9608 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.433e-06/0.559, allocations: 0.7812 kB / 0.9608 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.252e-06/0.559, allocations: 0 / 0.9608 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.559, allocations: 2.344 kB / 0.9608 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.559, allocations: 4.938 kB / 0.9608 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.559, allocations: 3.938 kB / 0.9608 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002334/0.5592, allocations: 229.4 kB / 0.961 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.874e-05/0.5593, allocations: 87.7 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.5593, allocations: 1.375 kB / 0.9611 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.579e-05/0.5593, allocations: 8.109 kB / 0.9611 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.5594, allocations: 8.125 kB / 0.9611 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.794e-06/0.5594, allocations: 6.891 kB / 0.9611 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.043e-05/0.5595, allocations: 109.6 kB / 0.9612 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5595, allocations: 7.969 kB / 0.9613 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002662/0.5597, allocations: 64.27 kB / 0.9613 GB, free: 2.867 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.0005283/0.5603, allocations: 0.8141 MB / 0.9621 GB, free: 2.176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003399/0.5606, allocations: 373.8 kB / 0.9625 GB, free: 1.949 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5606, allocations: 4.094 kB / 0.9625 GB, free: 1.945 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.5608, allocations: 135 kB / 0.9626 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001391/0.5609, allocations: 4.5 kB / 0.9626 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/0.5625, allocations: 2.139 MB / 0.9647 GB, free: 316 kB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001832/0.5627, allocations: 0.6905 MB / 0.9654 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.87e-06/0.5627, allocations: 0 / 0.9654 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.917e-05/0.5627, allocations: 16.56 kB / 0.9654 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.5627, allocations: 0 / 0.9654 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02102/0.5838, allocations: 2.975 MB / 0.9683 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/0.584, allocations: 210.3 kB / 0.9685 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.592/2.176, allocations: 0 / 0.9685 GB, free: 13.91 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 & /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