Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_11_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.00161/0.00161, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001772/0.001772, allocations: 197.9 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.695/2.695, allocations: 469.8 MB / 0.7424 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002164/0.002164, allocations: 66.73 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2671, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00155/0.2687, allocations: 0.5895 MB / 1.065 GB, free: 13.64 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001941/0.2689, allocations: 39.81 kB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.584e-05/0.2689, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.2689, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.549e-05/0.269, allocations: 0 / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.2691, allocations: 11.98 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.2692, allocations: 4 kB / 1.065 GB, free: 13.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.846e-05/0.2692, allocations: 7.969 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.104e-05/0.2693, allocations: 8 kB / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.634e-05/0.2693, allocations: 0 / 1.065 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.055e-05/0.2693, allocations: 4 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.2694, allocations: 15.98 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.542e-05/0.2694, allocations: 7.938 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.083e-05/0.2694, allocations: 3.938 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.952e-05/0.2695, allocations: 23.92 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2695, allocations: 3.984 kB / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2695, allocations: 0 / 1.065 GB, free: 13.51 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.2695, allocations: 0 / 1.065 GB, free: 13.51 MB / 0.8262 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.0003182/0.2699, allocations: 354.5 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.105e-05/0.2699, allocations: 12.02 kB / 1.065 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.27, allocations: 38.75 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.1e-05/0.27, allocations: 0.9375 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.952e-05/0.2701, allocations: 164.6 kB / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.2701, allocations: 384 / 1.065 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-06/0.2701, allocations: 8.312 kB / 1.065 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.2702, allocations: 58.25 kB / 1.065 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.2702, allocations: 7.875 kB / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.021e-06/0.2703, allocations: 0 / 1.065 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.383e-05/0.2703, allocations: 7.984 kB / 1.065 GB, free: 12.76 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.51e-05/0.2703, allocations: 31.92 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002923/0.2706, allocations: 260.8 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.043e-05/0.2707, allocations: 22.56 kB / 1.066 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.2707, allocations: 16.91 kB / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.56e-06/0.2707, allocations: 0 / 1.066 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.2707, allocations: 34.5 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.2708, allocations: 4 kB / 1.066 GB, free: 12.33 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001515/0.2709, allocations: 71.3 kB / 1.066 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.271, allocations: 77.11 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.314e-05/0.2711, allocations: 113.8 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.2711, allocations: 25.7 kB / 1.066 GB, free: 12 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.2711, allocations: 103.9 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.667e-06/0.2712, allocations: 7.984 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.2712, allocations: 25.62 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2713, allocations: 322.9 kB / 1.066 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.372e-05/0.2714, allocations: 11.98 kB / 1.066 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.151e-05/0.2714, allocations: 62.8 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.2715, allocations: 126.2 kB / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.2715, allocations: 0 / 1.067 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001456/0.2717, allocations: 123.2 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.2717, allocations: 29.7 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2717, allocations: 4 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.2718, allocations: 4 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.2718, allocations: 19.92 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.2718, allocations: 4 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.916e-05/0.2719, allocations: 11.84 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.523e-05/0.2719, allocations: 8.188 kB / 1.067 GB, free: 11.05 MB / 0.8262 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.383e-05/0.272, allocations: 147.5 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.272, allocations: 0 / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.115e-05/0.2721, allocations: 7.516 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2721, allocations: 4 kB / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.2721, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-06/0.2721, allocations: 0 / 1.067 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000146/0.2722, allocations: 157.6 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.2722, allocations: 0 / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-06/0.2722, allocations: 3.938 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2722, allocations: 7.938 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.2723, allocations: 3.938 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2723, allocations: 4 kB / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2723, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001199/0.2724, allocations: 165.2 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.227e-05/0.2724, allocations: 81.02 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.2725, allocations: 0 / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.329e-05/0.2725, allocations: 8.031 kB / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.2725, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.2725, allocations: 0 / 1.067 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.2726, allocations: 95.67 kB / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2726, allocations: 0 / 1.068 GB, free: 10.28 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002272/0.2728, allocations: 12 kB / 1.068 GB, free: 10.27 MB / 0.8262 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.0004279/0.2733, allocations: 0.7081 MB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.2734, allocations: 87.33 kB / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2734, allocations: 0 / 1.068 GB, free: 9.43 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.029e-05/0.2734, allocations: 55.41 kB / 1.068 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.2736, allocations: 4 kB / 1.068 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.274, allocations: 155 kB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.2743, allocations: 0.6809 MB / 1.069 GB, free: 8.461 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.422e-05/0.2743, allocations: 7.984 kB / 1.069 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.987e-05/0.2743, allocations: 11.44 kB / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2744, allocations: 0 / 1.069 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.038/1.312, allocations: 1.406 MB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.13/14.44, allocations: 17.12 kB / 1.071 GB, free: 7.141 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches