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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9374/0.9374, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.692/1.692, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9505 GB, free: 3.445 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.236e-05/2.447e-05, allocations: 4.953 kB / 0.9505 GB, free: 3.441 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.001376/0.0014, allocations: 0.6228 MB / 0.9512 GB, free: 2.812 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001506/0.002906, allocations: 1.385 MB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.247e-05/0.002938, allocations: 4 kB / 0.9525 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 6.14e-05/0.003, allocations: 4 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.274e-05/0.003043, allocations: 7.875 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006282/0.003671, allocations: 183.5 kB / 0.9527 GB, free: 1.215 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.003777, allocations: 39.91 kB / 0.9527 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.003815, allocations: 7.938 kB / 0.9527 GB, free: 1.168 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.87e-05/0.003864, allocations: 31.95 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.015e-05/0.003914, allocations: 23.97 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.403e-05/0.003928, allocations: 4 kB / 0.9528 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003066/0.004234, allocations: 211.6 kB / 0.953 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.487e-05/0.004279, allocations: 8 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.004313, allocations: 15.92 kB / 0.953 GB, free: 0.8789 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.004555, allocations: 235.4 kB / 0.9533 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.004557, allocations: 0 / 0.9533 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.383e-06/0.004558, allocations: 3.938 kB / 0.9533 GB, free: 0.6445 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.004563, allocations: 4 kB / 0.9533 GB, free: 0.6406 MB / 0.9011 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.0003469/0.00491, allocations: 357.3 kB / 0.9536 GB, free: 256 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.004949, allocations: 12.03 kB / 0.9536 GB, free: 244 kB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.798e-05/0.004977, allocations: 38.75 kB / 0.9536 GB, free: 196 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.005005, allocations: 8.891 kB / 0.9537 GB, free: 188 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.457e-05/0.00509, allocations: 117.7 kB / 0.9538 GB, free: 44 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.005102, allocations: 4.375 kB / 0.9538 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.005111, allocations: 384 / 0.9538 GB, free: 40 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001727/0.005284, allocations: 131.9 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.005293, allocations: 192 / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.005306, allocations: 8.062 kB / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.00531, allocations: 0 / 0.9539 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.471e-05/0.005395, allocations: 89.66 kB / 0.954 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001314/0.005526, allocations: 148.7 kB / 0.9541 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.305e-05/0.00562, allocations: 100.2 kB / 0.9542 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.071e-05/0.00569, allocations: 102.6 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-06/0.005697, allocations: 3.984 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.018e-05/0.005717, allocations: 30.56 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.11e-07/0.005718, allocations: 3.938 kB / 0.9544 GB, free: 15.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0003188/0.006037, allocations: 310.6 kB / 0.9547 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.006076, allocations: 89.09 kB / 0.9547 GB, free: 14.91 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.943e-05/0.006165, allocations: 148 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.006178, allocations: 25.7 kB / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/0.006216, allocations: 92.09 kB / 0.955 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.006233, allocations: 11.92 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.006274, allocations: 29.7 kB / 0.955 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/0.006358, allocations: 318.8 kB / 0.9553 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.006486, allocations: 171.3 kB / 0.9555 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.006593, allocations: 171.3 kB / 0.9557 GB, free: 13.9 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.006797, allocations: 285.8 kB / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.006799, allocations: 0 / 0.9559 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002863/0.007086, allocations: 388.2 kB / 0.9563 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.00714, allocations: 75.38 kB / 0.9564 GB, free: 13.11 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.007149, allocations: 3.938 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.007162, allocations: 4.062 kB / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.007163, allocations: 0 / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.007169, allocations: 0 / 0.9564 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.00732, allocations: 19.89 kB / 0.9564 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.007332, allocations: 0 / 0.9564 GB, free: 13.08 MB / 0.9167 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.0001051/0.007437, allocations: 147.5 kB / 0.9566 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.496e-05/0.007452, allocations: 7.953 kB / 0.9566 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.007476, allocations: 24.2 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.00748, allocations: 0 / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.007487, allocations: 0 / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.00749, allocations: 4 kB / 0.9566 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.924e-05/0.00758, allocations: 136.7 kB / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.007581, allocations: 0 / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.007582, allocations: 3.938 kB / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007585, allocations: 0 / 0.9567 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.007597, allocations: 7.938 kB / 0.9567 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.007599, allocations: 0 / 0.9567 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.0076, allocations: 0 / 0.9567 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.00783, allocations: 256.4 kB / 0.957 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.007842, allocations: 7.953 kB / 0.957 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.00786, allocations: 7.938 kB / 0.957 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.413e-05/0.007904, allocations: 8.016 kB / 0.957 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.007968, allocations: 8 kB / 0.957 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-06/0.007974, allocations: 4 kB / 0.957 GB, free: 12.37 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 5.097e-05/0.008025, allocations: 103.2 kB / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.008025, allocations: 0 / 0.9571 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002484/0.008274, allocations: 75.8 kB / 0.9572 GB, free: 12.2 MB / 0.9167 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.000575/0.008849, allocations: 0.846 MB / 0.958 GB, free: 11.31 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0003241/0.009173, allocations: 419.7 kB / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.009175, allocations: 96 / 0.9584 GB, free: 10.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.953e-05/0.009264, allocations: 157 kB / 0.9586 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001235/0.009388, allocations: 8.375 kB / 0.9586 GB, free: 10.68 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.01118, allocations: 2.469 MB / 0.961 GB, free: 8.062 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.01124, allocations: 75.33 kB / 0.961 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 8.676e-06/0.01125, allocations: 0 / 0.961 GB, free: 7.969 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/0.01129, allocations: 16.64 kB / 0.9611 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of SimCode: time 6.71e-07/0.01129, allocations: 0 / 0.9611 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01929/0.03058, allocations: 4.054 MB / 0.965 GB, free: 4.043 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/6.756, allocations: 6.516 kB / 0.965 GB, free: 4.039 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Utilities_Math_Functions_Examples_CubicHermite.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_CubicHermite.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.CubicHermite.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.955074705183506]