Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_10_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.001687/0.001687, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002143/0.002143, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.387/1.387, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.541/2.541, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 63.89 kB / 0.8689 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7327/0.7343, allocations: 151.6 MB / 1.017 GB, free: 2.707 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002454/0.7368, allocations: 0.6489 MB / 1.018 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002551/0.7371, allocations: 39.81 kB / 1.018 GB, free: 2.016 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.7371, allocations: 4 kB / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.408e-05/0.7372, allocations: 0 / 1.018 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.909e-05/0.7372, allocations: 4 kB / 1.018 GB, free: 2.008 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002496/0.7375, allocations: 15.97 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.654e-05/0.7376, allocations: 4 kB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 4.227e-05/0.7376, allocations: 0 / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.771e-05/0.7377, allocations: 4 kB / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.385e-05/0.7377, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.7377, allocations: 0 / 1.018 GB, free: 1.984 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.7378, allocations: 23.97 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.997e-05/0.7379, allocations: 8 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.28e-05/0.7379, allocations: 3.938 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.738, allocations: 31.91 kB / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.7381, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.174e-06/0.7381, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.234e-06/0.7381, allocations: 0 / 1.018 GB, free: 1.918 MB / 0.7637 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.0004077/0.7385, allocations: 353.2 kB / 1.018 GB, free: 1.516 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.7385, allocations: 11.97 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.7386, allocations: 34.75 kB / 1.018 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.7386, allocations: 8.922 kB / 1.018 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001002/0.7387, allocations: 162.6 kB / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.7388, allocations: 384 / 1.018 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.7388, allocations: 4.375 kB / 1.018 GB, free: 1.254 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.7389, allocations: 54.25 kB / 1.018 GB, free: 1.195 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.739, allocations: 7.938 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.739, allocations: 0 / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.195e-05/0.739, allocations: 4 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.167e-05/0.7391, allocations: 31.86 kB / 1.018 GB, free: 1.152 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003548/0.7394, allocations: 276.8 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.688e-05/0.7395, allocations: 18.56 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.7395, allocations: 8.922 kB / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.506e-06/0.7395, allocations: 0 / 1.019 GB, free: 0.793 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.7396, allocations: 34.55 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.7396, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001964/0.7398, allocations: 79.28 kB / 1.019 GB, free: 0.6602 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.885e-05/0.7398, allocations: 77.11 kB / 1.019 GB, free: 0.5664 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.7399, allocations: 121.7 kB / 1.019 GB, free: 448 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.7399, allocations: 25.7 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 6.052e-05/0.74, allocations: 99.86 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 9.037e-06/0.74, allocations: 3.938 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/0.7401, allocations: 25.7 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7402, allocations: 322.8 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.494e-05/0.7402, allocations: 12.11 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.7403, allocations: 58.81 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.7404, allocations: 126.2 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.7404, allocations: 4 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001617/0.7406, allocations: 127.2 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/0.7406, allocations: 29.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.7406, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.7407, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.7407, allocations: 8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.7408, allocations: 7.938 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.51e-05/0.7408, allocations: 11.98 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.7409, allocations: 7.938 kB / 1.02 GB, free: 15.47 MB / 0.7794 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 0.0001085/0.741, allocations: 144.2 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.741, allocations: 7.906 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.347e-05/0.741, allocations: 3.531 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.741, allocations: 4 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.7411, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7411, allocations: 3.984 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.7412, allocations: 149.6 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.7412, allocations: 0 / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-06/0.7412, allocations: 3.984 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.7412, allocations: 3.938 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.7413, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.7413, allocations: 8 kB / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.7413, allocations: 0 / 1.02 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.7414, allocations: 169.1 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.081e-05/0.7415, allocations: 81.11 kB / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.7415, allocations: 0 / 1.02 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.319e-05/0.7416, allocations: 8 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.7416, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.7416, allocations: 4.031 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.793e-05/0.7416, allocations: 91.2 kB / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7416, allocations: 0 / 1.02 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002652/0.7419, allocations: 16 kB / 1.02 GB, free: 14.68 MB / 0.7794 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.0004437/0.7424, allocations: 0.7101 MB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001406/0.7425, allocations: 83.33 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.7425, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.615e-05/0.7426, allocations: 59.39 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.7428, allocations: 8 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003773/0.7432, allocations: 143.2 kB / 1.021 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002126/0.7434, allocations: 0.6866 MB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.7435, allocations: 11.97 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.7435, allocations: 11.44 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.7435, allocations: 0 / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0111/0.7547, allocations: 1.328 MB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/0.7549, allocations: 223.9 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/2.404, allocations: 0 / 1.024 GB, free: 11.43 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches