Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.TrapezoidalIntegration,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",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.00114/0.00114, 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.001204/0.001204, allocations: 193.8 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.345/1.345, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.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.429/2.429, allocations: 390.3 MB / 0.6647 GB, free: 348 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 68.03 kB / 0.8127 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6009/0.6023, allocations: 140.3 MB / 0.9497 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001789/0.6042, allocations: 0.5918 MB / 0.9503 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002479/0.6044, allocations: 36.12 kB / 0.9503 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.638e-05/0.6045, allocations: 0 / 0.9503 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.6045, allocations: 4 kB / 0.9503 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.586e-05/0.6046, allocations: 1.375 kB / 0.9503 GB, free: 8.875 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.6048, allocations: 13.47 kB / 0.9503 GB, free: 8.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.917e-05/0.6049, allocations: 10.69 kB / 0.9504 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.423e-05/0.605, allocations: 1.375 kB / 0.9504 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.266e-05/0.605, allocations: 5.312 kB / 0.9504 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.43e-05/0.605, allocations: 1.375 kB / 0.9504 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.605, allocations: 0 / 0.9504 GB, free: 8.855 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001019/0.6051, allocations: 16.23 kB / 0.9504 GB, free: 8.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.291e-05/0.6052, allocations: 6.75 kB / 0.9504 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.6052, allocations: 13.3 kB / 0.9504 GB, free: 8.832 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.895e-05/0.6053, allocations: 29.53 kB / 0.9504 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.6053, allocations: 0 / 0.9504 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6053, allocations: 1.375 kB / 0.9504 GB, free: 8.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.6053, allocations: 0 / 0.9504 GB, free: 8.812 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002917/0.6056, allocations: 349.4 kB / 0.9508 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.6057, allocations: 9.625 kB / 0.9508 GB, free: 8.422 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.385e-05/0.6057, allocations: 36.12 kB / 0.9508 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.677e-05/0.6058, allocations: 2.312 kB / 0.9508 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.847e-05/0.6058, allocations: 170.6 kB / 0.951 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.6058, allocations: 1.75 kB / 0.951 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.6059, allocations: 1.75 kB / 0.951 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.606, allocations: 58.47 kB / 0.951 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.606, allocations: 3.938 kB / 0.951 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.557e-06/0.6061, allocations: 5.531 kB / 0.951 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.6061, allocations: 4.156 kB / 0.951 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.234e-05/0.6061, allocations: 23.67 kB / 0.9511 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.6064, allocations: 274.5 kB / 0.9513 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.999e-05/0.6065, allocations: 22.36 kB / 0.9514 GB, free: 7.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.538e-05/0.6065, allocations: 10.31 kB / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.6065, allocations: 0 / 0.9514 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.6065, allocations: 31.81 kB / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.6066, allocations: 0 / 0.9514 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001662/0.6067, allocations: 70.27 kB / 0.9515 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/0.6068, allocations: 81.23 kB / 0.9515 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.91e-05/0.6068, allocations: 115 kB / 0.9516 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.767e-06/0.6068, allocations: 29.64 kB / 0.9517 GB, free: 7.426 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.377e-05/0.6069, allocations: 102.6 kB / 0.9518 GB, free: 7.324 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-06/0.6069, allocations: 9.156 kB / 0.9518 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.693e-05/0.6069, allocations: 22.75 kB / 0.9518 GB, free: 7.297 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.911e-05/0.607, allocations: 322.7 kB / 0.9521 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.749e-05/0.607, allocations: 11.91 kB / 0.9521 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.901e-05/0.6071, allocations: 60.89 kB / 0.9522 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.078e-05/0.6072, allocations: 132.7 kB / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6072, allocations: 0 / 0.9523 GB, free: 6.746 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001377/0.6073, allocations: 116 kB / 0.9524 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.6074, allocations: 32.55 kB / 0.9524 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.6074, allocations: 6.703 kB / 0.9525 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.6074, allocations: 5.031 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.475e-05/0.6075, allocations: 10.75 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.6075, allocations: 2.656 kB / 0.9525 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.368e-05/0.6076, allocations: 12.16 kB / 0.9525 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.6076, allocations: 9.219 kB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 7.64e-05/0.6077, allocations: 145.5 kB / 0.9526 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.6077, allocations: 5.281 kB / 0.9526 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.415e-05/0.6077, allocations: 9.031 kB / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.6077, allocations: 1.281 kB / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6077, allocations: 0 / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.6078, allocations: 0 / 0.9526 GB, free: 6.438 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.6079, allocations: 154.5 kB / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.6079, allocations: 0 / 0.9528 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.086e-06/0.6079, allocations: 5.031 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.6079, allocations: 0 / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.6079, allocations: 0.875 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.6079, allocations: 1.438 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6079, allocations: 4 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.899e-05/0.608, allocations: 172.5 kB / 0.953 GB, free: 6.055 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.531e-05/0.6081, allocations: 78.23 kB / 0.953 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.6081, allocations: 5.141 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.429e-05/0.6081, allocations: 1.312 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.6082, allocations: 1.219 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.6082, allocations: 9.75 kB / 0.9531 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.671e-05/0.6082, allocations: 94.86 kB / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6082, allocations: 0 / 0.9531 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002495/0.6085, allocations: 10.31 kB / 0.9532 GB, free: 5.863 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: 0 () * Number of discrete states: 0 () * 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.0003401/0.6088, allocations: 0.7025 MB / 0.9538 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001399/0.609, allocations: 87.45 kB / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.609, allocations: 0 / 0.9539 GB, free: 5.086 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.223e-05/0.609, allocations: 60.84 kB / 0.954 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.6092, allocations: 1.438 kB / 0.954 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003353/0.6096, allocations: 146.2 kB / 0.9541 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001071/0.6097, allocations: 0.6838 MB / 0.9548 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.562e-05/0.6098, allocations: 13.55 kB / 0.9548 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.071e-05/0.6098, allocations: 14.25 kB / 0.9548 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.6098, allocations: 0 / 0.9548 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01627/0.6261, allocations: 1.405 MB / 0.9562 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.613/8.239, allocations: 15.72 kB / 0.9562 GB, free: 3.363 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches