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.007302/0.007302, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001703/0.001703, allocations: 196 kB / 16.68 MB, free: 5.934 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.341/1.341, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.301/2.301, allocations: 437.1 MB / 0.7106 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001787/0.001787, allocations: 72.11 kB / 1.018 GB, free: 9.855 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6742/0.676, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001509/0.6775, allocations: 0.5872 MB / 1.167 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001936/0.6777, allocations: 37.84 kB / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.6778, allocations: 0 / 1.167 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.6778, allocations: 3.938 kB / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 2.731e-05/0.6778, allocations: 0 / 1.167 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.678, allocations: 15.98 kB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.018e-05/0.6781, allocations: 0 / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.574e-05/0.6781, allocations: 7.938 kB / 1.167 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.6781, allocations: 7.938 kB / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.244e-05/0.6782, allocations: 7.984 kB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.6782, allocations: 4 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 7.598e-05/0.6783, allocations: 23.97 kB / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.481e-05/0.6783, allocations: 0 / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.23e-05/0.6783, allocations: 7.938 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 8.077e-05/0.6784, allocations: 19.92 kB / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.6784, allocations: 0 / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6784, allocations: 0 / 1.167 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.6784, allocations: 0 / 1.167 GB, free: 3.027 MB / 0.8887 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.0003137/0.6788, allocations: 364.8 kB / 1.167 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.6788, allocations: 12.92 kB / 1.167 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.266e-05/0.6788, allocations: 30.75 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.968e-05/0.6789, allocations: 0.9375 kB / 1.167 GB, free: 2.566 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.679, allocations: 168.4 kB / 1.167 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.679, allocations: 384 / 1.167 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-06/0.679, allocations: 384 / 1.167 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.6791, allocations: 62.23 kB / 1.168 GB, free: 2.297 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.6791, allocations: 3.938 kB / 1.168 GB, free: 2.293 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.6791, allocations: 4 kB / 1.168 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.022e-05/0.6792, allocations: 8 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.785e-05/0.6792, allocations: 27.92 kB / 1.168 GB, free: 2.254 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002976/0.6795, allocations: 260.8 kB / 1.168 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 4.199e-05/0.6796, allocations: 18.58 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.6796, allocations: 8.859 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-06/0.6796, allocations: 0 / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.6796, allocations: 42.61 kB / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.6796, allocations: 0 / 1.168 GB, free: 1.859 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0001435/0.6798, allocations: 63.34 kB / 1.168 GB, free: 1.785 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.6798, allocations: 81.11 kB / 1.168 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.108e-05/0.6799, allocations: 126 kB / 1.168 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.68, allocations: 29.64 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.68, allocations: 92 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.68, allocations: 12.06 kB / 1.168 GB, free: 1.414 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-05/0.6801, allocations: 33.66 kB / 1.168 GB, free: 1.375 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.6802, allocations: 314.8 kB / 1.169 GB, free: 1.059 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.37e-05/0.6802, allocations: 11.98 kB / 1.169 GB, free: 1.047 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.852e-05/0.6803, allocations: 62.94 kB / 1.169 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.6804, allocations: 130.2 kB / 1.169 GB, free: 0.7969 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.6804, allocations: 4 kB / 1.169 GB, free: 0.793 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001441/0.6806, allocations: 123.2 kB / 1.169 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/0.6806, allocations: 37.64 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.6806, allocations: 0 / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.6806, allocations: 4 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.745e-05/0.6807, allocations: 12 kB / 1.169 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.6807, allocations: 4.188 kB / 1.169 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.71e-05/0.6808, allocations: 11.95 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.6808, allocations: 15.92 kB / 1.169 GB, free: 0.5703 MB / 0.8887 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 8.547e-05/0.6809, allocations: 139.5 kB / 1.169 GB, free: 428 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.6809, allocations: 4 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.076e-05/0.6809, allocations: 3.531 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.22e-07/0.6809, allocations: 0 / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.6809, allocations: 0 / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-06/0.6809, allocations: 0 / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001414/0.6811, allocations: 157.6 kB / 1.169 GB, free: 208 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6811, allocations: 4 kB / 1.169 GB, free: 204 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-06/0.6811, allocations: 8 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.6811, allocations: 3.984 kB / 1.169 GB, free: 192 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.6811, allocations: 3.984 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6811, allocations: 0 / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6811, allocations: 0 / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.6813, allocations: 173.1 kB / 1.169 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.945e-05/0.6813, allocations: 85.12 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.939e-06/0.6813, allocations: 4 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.985e-05/0.6814, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.156e-06/0.6814, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.276e-06/0.6814, allocations: 4 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.6815, allocations: 99.14 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6815, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002263/0.6817, allocations: 11.94 kB / 1.17 GB, free: 15.77 MB / 0.9044 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.0004135/0.6821, allocations: 0.7024 MB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001252/0.6823, allocations: 83.33 kB / 1.17 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.6823, allocations: 0 / 1.17 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.086e-05/0.6823, allocations: 63.92 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.6825, allocations: 4.062 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.6828, allocations: 138.5 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002645/0.6831, allocations: 0.6768 MB / 1.171 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.327e-05/0.6832, allocations: 15.97 kB / 1.171 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.6832, allocations: 7.438 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of SimCode: time 2.11e-07/0.6832, allocations: 0 / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.681/2.364, allocations: 1.451 MB / 1.173 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.016/10.38, allocations: 4.594 kB / 1.173 GB, free: 12.65 MB / 0.9044 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=400 --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