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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009482/0.0009482, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007688/0.007688, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.534/2.534, allocations: 437.8 MB / 0.7121 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003433/0.0003435, allocations: 8 kB / 0.873 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5935/0.5939, allocations: 153.8 MB / 1.023 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006759/0.5946, allocations: 321.5 kB / 1.023 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000256/0.5948, allocations: 47.8 kB / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.386e-05/0.5949, allocations: 0 / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.5949, allocations: 0 / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.037e-05/0.5949, allocations: 0 / 1.023 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001532/0.5951, allocations: 12 kB / 1.024 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.466e-05/0.5952, allocations: 7.984 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.279e-05/0.5952, allocations: 3.984 kB / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.747e-05/0.5952, allocations: 0 / 1.024 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.477e-05/0.5953, allocations: 4 kB / 1.024 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.071e-05/0.5953, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.35e-05/0.5954, allocations: 19.98 kB / 1.024 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.086e-05/0.5954, allocations: 4 kB / 1.024 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.556e-05/0.5955, allocations: 33.58 kB / 1.024 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.98e-05/0.5955, allocations: 31.89 kB / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5956, allocations: 0 / 1.024 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5956, allocations: 4 kB / 1.024 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.5956, allocations: 0 / 1.024 GB, free: 15.5 MB / 0.7794 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.000279/0.5959, allocations: 345.2 kB / 1.024 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5959, allocations: 11.97 kB / 1.024 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.5959, allocations: 42.73 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/0.596, allocations: 0.9375 kB / 1.024 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.122e-05/0.5961, allocations: 162.8 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.5961, allocations: 384 / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.006e-05/0.5961, allocations: 4.375 kB / 1.024 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.5962, allocations: 62.23 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/0.5963, allocations: 3.938 kB / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.5963, allocations: 0 / 1.024 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.5963, allocations: 7.984 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.383e-05/0.5964, allocations: 27.92 kB / 1.024 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003219/0.5967, allocations: 264.8 kB / 1.024 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 4.332e-05/0.5967, allocations: 22.5 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.995e-05/0.5968, allocations: 16.91 kB / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.683e-06/0.5968, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.5968, allocations: 30.56 kB / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.5968, allocations: 0 / 1.025 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001712/0.597, allocations: 71.34 kB / 1.025 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.597, allocations: 81.09 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.146e-05/0.5971, allocations: 113.8 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.5972, allocations: 29.83 kB / 1.025 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.61e-05/0.5972, allocations: 107.8 kB / 1.025 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.5972, allocations: 3.984 kB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.5973, allocations: 17.72 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.131e-05/0.5974, allocations: 314.8 kB / 1.025 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.516e-05/0.5974, allocations: 11.98 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.932e-05/0.5975, allocations: 66.8 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.5976, allocations: 126.2 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5976, allocations: 0 / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001576/0.5977, allocations: 119.2 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.5978, allocations: 35.58 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.5978, allocations: 0 / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5978, allocations: 4.25 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.93e-05/0.5979, allocations: 16 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.5979, allocations: 3.938 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.149e-05/0.598, allocations: 15.83 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.598, allocations: 15.88 kB / 1.026 GB, free: 13.07 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 9.01e-05/0.5981, allocations: 140.1 kB / 1.026 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.691e-05/0.5981, allocations: 4 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.329e-05/0.5982, allocations: 3.531 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.5982, allocations: 3.984 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5982, allocations: 4 kB / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.5982, allocations: 0 / 1.026 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.5983, allocations: 161.6 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5983, allocations: 4 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-07/0.5983, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.5983, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.5984, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5984, allocations: 3.938 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.5984, allocations: 0 / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.5985, allocations: 177 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.305e-05/0.5985, allocations: 81.11 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/0.5986, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.656e-05/0.5986, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.398e-05/0.5986, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.5986, allocations: 4 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.5987, allocations: 95.2 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5987, allocations: 0 / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002527/0.599, allocations: 8 kB / 1.026 GB, free: 12.29 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.0004044/0.5994, allocations: 0.7024 MB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.5995, allocations: 83.33 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5995, allocations: 0.5312 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.583e-05/0.5996, allocations: 67.39 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.5998, allocations: 9.656 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003522/0.6001, allocations: 144.2 kB / 1.027 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.6004, allocations: 0.677 MB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.755e-05/0.6004, allocations: 16.03 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.975e-05/0.6005, allocations: 11.44 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6005, allocations: 0 / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01038/0.6109, allocations: 1.23 MB / 1.029 GB, free: 9.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.6111, allocations: 221.7 kB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/2.276, allocations: 4 kB / 1.029 GB, free: 9.145 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