Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_latest_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.0009398/0.0009398, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005336/0.005336, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.368/1.368, 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 11.0.0-master/package.mo): time 2.718/2.718, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003369/0.000337, allocations: 11 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2878, allocations: 159.6 MB / 1.059 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006859/0.2886, allocations: 326.8 kB / 1.059 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002532/0.2888, allocations: 51.81 kB / 1.059 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.2889, allocations: 4 kB / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.2889, allocations: 0 / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.057e-05/0.2889, allocations: 0 / 1.059 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.2891, allocations: 11.92 kB / 1.059 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.371e-05/0.2892, allocations: 8 kB / 1.059 GB, free: 4.469 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.598e-05/0.2892, allocations: 3.984 kB / 1.059 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.891e-05/0.2892, allocations: 0 / 1.059 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.349e-05/0.2893, allocations: 4 kB / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.2893, allocations: 0 / 1.059 GB, free: 4.461 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.681e-05/0.2894, allocations: 15.98 kB / 1.059 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.986e-05/0.2894, allocations: 4 kB / 1.059 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.2894, allocations: 45.61 kB / 1.059 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 8.188e-05/0.2895, allocations: 15.92 kB / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2895, allocations: 0 / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.2895, allocations: 0 / 1.059 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.2896, allocations: 0 / 1.059 GB, free: 4.375 MB / 0.8106 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.0002821/0.2898, allocations: 349.3 kB / 1.06 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2899, allocations: 11.97 kB / 1.06 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.2899, allocations: 38.69 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.29, allocations: 0.9375 kB / 1.06 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.357e-05/0.2901, allocations: 168.6 kB / 1.06 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.2901, allocations: 4.375 kB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.2901, allocations: 4.375 kB / 1.06 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.2902, allocations: 58.23 kB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.204e-06/0.2902, allocations: 3.938 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.2902, allocations: 0 / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.288e-05/0.2903, allocations: 4 kB / 1.06 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.2903, allocations: 27.92 kB / 1.06 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002942/0.2906, allocations: 276.7 kB / 1.06 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.699e-05/0.2907, allocations: 18.58 kB / 1.06 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.441e-05/0.2907, allocations: 8.922 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-06/0.2907, allocations: 0 / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.2907, allocations: 30.56 kB / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2907, allocations: 0 / 1.06 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001447/0.2909, allocations: 71.33 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.2909, allocations: 81.23 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.388e-05/0.291, allocations: 117.8 kB / 1.06 GB, free: 2.906 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.291, allocations: 25.7 kB / 1.06 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.759e-05/0.2911, allocations: 107.8 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.541e-06/0.2911, allocations: 0 / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.2911, allocations: 13.72 kB / 1.061 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.265e-05/0.2912, allocations: 322.8 kB / 1.061 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.254e-05/0.2912, allocations: 11.98 kB / 1.061 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.063e-05/0.2913, allocations: 62.86 kB / 1.061 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.973e-05/0.2914, allocations: 130.1 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2914, allocations: 3.938 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001325/0.2915, allocations: 119.3 kB / 1.061 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.2916, allocations: 37.7 kB / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.2916, allocations: 0 / 1.061 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.2916, allocations: 4 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.412e-05/0.2917, allocations: 15.98 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.2917, allocations: 3.938 kB / 1.061 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.2917, allocations: 11.94 kB / 1.061 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.2918, allocations: 11.94 kB / 1.061 GB, free: 1.938 MB / 0.8106 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.61e-05/0.2919, allocations: 139.5 kB / 1.061 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.678e-05/0.2919, allocations: 12 kB / 1.061 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.05e-05/0.2919, allocations: 3.531 kB / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.2919, allocations: 0 / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.2919, allocations: 0 / 1.061 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.2919, allocations: 4 kB / 1.061 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001243/0.292, allocations: 153.6 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2921, allocations: 0 / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.2921, allocations: 4 kB / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2921, allocations: 0 / 1.062 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.2921, allocations: 3.938 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2921, allocations: 480 / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.2921, allocations: 4 kB / 1.062 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.2922, allocations: 173 kB / 1.062 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.03e-05/0.2922, allocations: 81.11 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.2922, allocations: 4 kB / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.177e-05/0.2923, allocations: 0 / 1.062 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.325e-05/0.2923, allocations: 3.984 kB / 1.062 GB, free: 1.258 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.2923, allocations: 4 kB / 1.062 GB, free: 1.254 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.2924, allocations: 95.23 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2924, allocations: 0 / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002352/0.2926, allocations: 16 kB / 1.062 GB, free: 1.145 MB / 0.8106 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.0003723/0.293, allocations: 0.7024 MB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001135/0.2931, allocations: 87.36 kB / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2931, allocations: 0 / 1.063 GB, free: 320 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-05/0.2932, allocations: 55.41 kB / 1.063 GB, free: 252 kB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001999/0.2934, allocations: 15.95 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.2937, allocations: 156.1 kB / 1.063 GB, free: 36 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002196/0.2939, allocations: 0.6776 MB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.685e-05/0.294, allocations: 15.98 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.89e-05/0.2941, allocations: 11.38 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.2941, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.319/2.613, allocations: 1.231 MB / 1.065 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/2.613, allocations: 230.6 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.635/4.249, allocations: 3.938 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches