Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.0009778/0.0009778, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.001096/0.001096, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8863/0.8863, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.749/1.749, allocations: 377.8 MB / 0.6221 GB, free: 8.652 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.TrapezoidalIntegration,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.26e-05, allocations: 2.281 kB / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00111/0.001122, allocations: 0.5878 MB / 0.9816 GB, free: 1.938 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002086/0.001331, allocations: 39.83 kB / 0.9816 GB, free: 1.898 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.977e-05/0.001351, allocations: 0 / 0.9816 GB, free: 1.898 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.991e-05/0.001381, allocations: 3.938 kB / 0.9816 GB, free: 1.895 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.176e-05/0.001422, allocations: 7.969 kB / 0.9816 GB, free: 1.887 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.001637, allocations: 12 kB / 0.9817 GB, free: 1.875 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 7.113e-05/0.001708, allocations: 7.984 kB / 0.9817 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 3.528e-05/0.001743, allocations: 0 / 0.9817 GB, free: 1.867 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.27e-05/0.001776, allocations: 4 kB / 0.9817 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 4.233e-05/0.001818, allocations: 0 / 0.9817 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.001833, allocations: 0 / 0.9817 GB, free: 1.863 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 7.153e-05/0.001904, allocations: 23.97 kB / 0.9817 GB, free: 1.84 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 2.984e-05/0.001934, allocations: 4 kB / 0.9817 GB, free: 1.836 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.001954, allocations: 3.938 kB / 0.9817 GB, free: 1.832 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.779e-05/0.002052, allocations: 27.91 kB / 0.9817 GB, free: 1.805 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.002053, allocations: 4 kB / 0.9817 GB, free: 1.801 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.703e-06/0.002055, allocations: 3.984 kB / 0.9817 GB, free: 1.797 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.00206, allocations: 0 / 0.9817 GB, free: 1.797 MB / 0.9323 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.0002507/0.00231, allocations: 276.1 kB / 0.982 GB, free: 1.488 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.002347, allocations: 8.031 kB / 0.982 GB, free: 1.48 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.488e-05/0.002372, allocations: 34.73 kB / 0.982 GB, free: 1.438 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.002396, allocations: 8.875 kB / 0.982 GB, free: 1.43 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.267e-05/0.002449, allocations: 101.8 kB / 0.9821 GB, free: 1.305 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.739e-06/0.002459, allocations: 4.312 kB / 0.9821 GB, free: 1.301 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.002467, allocations: 4.375 kB / 0.9821 GB, free: 1.297 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.002584, allocations: 83.95 kB / 0.9822 GB, free: 1.203 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-06/0.00259, allocations: 4.188 kB / 0.9822 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.002598, allocations: 4.375 kB / 0.9822 GB, free: 1.195 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.13e-05/0.002619, allocations: 12.11 kB / 0.9822 GB, free: 1.184 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.323e-05/0.002662, allocations: 49.69 kB / 0.9823 GB, free: 1.129 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.002927, allocations: 243.8 kB / 0.9825 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 5.214e-05/0.002979, allocations: 48.28 kB / 0.9826 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.022e-05/0.002999, allocations: 30.56 kB / 0.9826 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.981e-06/0.003005, allocations: 0 / 0.9826 GB, free: 0.7461 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.003028, allocations: 38.61 kB / 0.9826 GB, free: 0.6992 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.003029, allocations: 3.938 kB / 0.9826 GB, free: 0.6953 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001577/0.003187, allocations: 126.8 kB / 0.9828 GB, free: 0.5469 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.548e-05/0.003223, allocations: 77.11 kB / 0.9828 GB, free: 464 kB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.805e-05/0.003291, allocations: 117.8 kB / 0.983 GB, free: 336 kB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 9.629e-06/0.0033, allocations: 25.7 kB / 0.983 GB, free: 304 kB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.003342, allocations: 103.9 kB / 0.9831 GB, free: 196 kB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.003347, allocations: 3.953 kB / 0.9831 GB, free: 192 kB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.003378, allocations: 25.7 kB / 0.9831 GB, free: 160 kB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.347e-05/0.003472, allocations: 318.8 kB / 0.9834 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.747e-05/0.003499, allocations: 41.69 kB / 0.9834 GB, free: 15.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.833e-05/0.003547, allocations: 84.56 kB / 0.9835 GB, free: 15.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.594e-05/0.003623, allocations: 134.3 kB / 0.9837 GB, free: 15.51 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.003626, allocations: 0 / 0.9837 GB, free: 15.51 MB / 0.948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001081/0.003734, allocations: 148.9 kB / 0.9838 GB, free: 15.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.003764, allocations: 33.7 kB / 0.9838 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.003769, allocations: 0 / 0.9838 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.003783, allocations: 4 kB / 0.9838 GB, free: 15.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.846e-05/0.003842, allocations: 8 kB / 0.9838 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.003849, allocations: 7.984 kB / 0.9838 GB, free: 15.29 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/0.003909, allocations: 15.88 kB / 0.9839 GB, free: 15.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.003926, allocations: 4.469 kB / 0.9839 GB, free: 15.27 MB / 0.948 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.012e-05/0.003996, allocations: 143.7 kB / 0.984 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.004011, allocations: 11.95 kB / 0.984 GB, free: 15.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.143e-05/0.004022, allocations: 11.45 kB / 0.984 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.004024, allocations: 0 / 0.984 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.004029, allocations: 0 / 0.984 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.004036, allocations: 3.984 kB / 0.984 GB, free: 15.09 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001036/0.004139, allocations: 120.7 kB / 0.9841 GB, free: 14.93 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.004141, allocations: 3.984 kB / 0.9841 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.363e-06/0.004142, allocations: 0 / 0.9841 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.004144, allocations: 7.938 kB / 0.9842 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.00415, allocations: 0 / 0.9842 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.004151, allocations: 0 / 0.9842 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.004152, allocations: 4 kB / 0.9842 GB, free: 14.91 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.364e-05/0.004245, allocations: 194.8 kB / 0.9843 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.662e-06/0.004252, allocations: 4 kB / 0.9844 GB, free: 14.69 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.436e-06/0.00426, allocations: 3.938 kB / 0.9844 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.004295, allocations: 4 kB / 0.9844 GB, free: 14.68 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.153e-05/0.004307, allocations: 8 kB / 0.9844 GB, free: 14.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.00431, allocations: 0 / 0.9844 GB, free: 14.67 MB / 0.948 GB Notification: Performance of sorting global known variables: time 3.107e-05/0.004341, allocations: 91.25 kB / 0.9845 GB, free: 14.58 MB / 0.948 GB Notification: Performance of sort global known variables: time 6e-08/0.004341, allocations: 0 / 0.9845 GB, free: 14.58 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000171/0.004512, allocations: 16 kB / 0.9845 GB, free: 14.57 MB / 0.948 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.0002861/0.004798, allocations: 0.7354 MB / 0.9852 GB, free: 13.79 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001223/0.00492, allocations: 142.7 kB / 0.9853 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.004922, allocations: 0 / 0.9853 GB, free: 13.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.004948, allocations: 81.11 kB / 0.9854 GB, free: 13.53 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001423/0.00509, allocations: 7.938 kB / 0.9854 GB, free: 13.52 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003257/0.005416, allocations: 176.8 kB / 0.9856 GB, free: 13.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.562e-05/0.005462, allocations: 67.2 kB / 0.9856 GB, free: 13.21 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 5.559e-05/0.005517, allocations: 11.98 kB / 0.9857 GB, free: 13.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.005539, allocations: 8.5 kB / 0.9857 GB, free: 13.2 MB / 0.948 GB Notification: Performance of SimCode: time 5.81e-07/0.005539, allocations: 0 / 0.9857 GB, free: 13.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01743/0.02297, allocations: 2.074 MB / 0.9877 GB, free: 11.27 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.549/6.572, allocations: 6.906 kB / 0.9877 GB, free: 11.27 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.691389200277627]