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.005797/0.005797, allocations: 97.78 kB / 15.73 MB, free: 5.961 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.00137/0.00137, allocations: 195.3 kB / 16.67 MB, free: 5.883 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.503/2.503, allocations: 437.1 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 64.11 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8424, allocations: 151.6 MB / 1.166 GB, free: 3.727 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002823/0.8453, allocations: 0.5766 MB / 1.167 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003467/0.8457, allocations: 37.84 kB / 1.167 GB, free: 3.117 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.768e-05/0.8457, allocations: 4 kB / 1.167 GB, free: 3.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.393e-05/0.8458, allocations: 4 kB / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.095e-05/0.8459, allocations: 0 / 1.167 GB, free: 3.109 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.8461, allocations: 15.97 kB / 1.167 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.597e-05/0.8463, allocations: 4 kB / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.716e-05/0.8463, allocations: 0 / 1.167 GB, free: 3.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.608e-05/0.8464, allocations: 7.938 kB / 1.167 GB, free: 3.082 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.601e-05/0.8464, allocations: 4 kB / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.8465, allocations: 0 / 1.167 GB, free: 3.078 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000131/0.8466, allocations: 23.97 kB / 1.167 GB, free: 3.055 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.8467, allocations: 7.938 kB / 1.167 GB, free: 3.047 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.037e-05/0.8467, allocations: 7.938 kB / 1.167 GB, free: 3.039 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.8469, allocations: 23.91 kB / 1.167 GB, free: 3.016 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8469, allocations: 4 kB / 1.167 GB, free: 3.012 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.625e-06/0.8469, allocations: 3.938 kB / 1.167 GB, free: 3.008 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.8469, allocations: 0 / 1.167 GB, free: 3.008 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.0004821/0.8474, allocations: 356.8 kB / 1.167 GB, free: 2.605 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.365e-05/0.8475, allocations: 8.922 kB / 1.167 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.8475, allocations: 34.75 kB / 1.167 GB, free: 2.555 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.948e-05/0.8476, allocations: 4.922 kB / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.8477, allocations: 164.4 kB / 1.167 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.8478, allocations: 384 / 1.167 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.8478, allocations: 4.375 kB / 1.167 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.848, allocations: 58.25 kB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/0.848, allocations: 7.875 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.848, allocations: 0 / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.8481, allocations: 4 kB / 1.168 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.785e-05/0.8482, allocations: 23.98 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.8487, allocations: 272.8 kB / 1.168 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.895e-05/0.8488, allocations: 14.58 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.3e-05/0.8488, allocations: 12.92 kB / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 5.2e-06/0.8488, allocations: 0 / 1.168 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.864e-05/0.8489, allocations: 42.48 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.8489, allocations: 0 / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002616/0.8492, allocations: 63.41 kB / 1.168 GB, free: 1.77 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.8493, allocations: 81.23 kB / 1.168 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002161/0.8495, allocations: 125.7 kB / 1.168 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.8495, allocations: 25.7 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.8496, allocations: 99.94 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.781e-05/0.8497, allocations: 7.938 kB / 1.168 GB, free: 1.398 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/0.8497, allocations: 29.66 kB / 1.168 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002356/0.85, allocations: 318.8 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.548e-05/0.85, allocations: 7.984 kB / 1.169 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.768e-05/0.8502, allocations: 66.81 kB / 1.169 GB, free: 0.9453 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.8504, allocations: 122.2 kB / 1.169 GB, free: 0.7891 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.8504, allocations: 4 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002671/0.8507, allocations: 127.4 kB / 1.169 GB, free: 0.6484 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 4.184e-05/0.8507, allocations: 29.7 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.8508, allocations: 4 kB / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.8508, allocations: 0 / 1.169 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.8509, allocations: 15.94 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.8509, allocations: 4 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.8511, allocations: 11.94 kB / 1.169 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.8511, allocations: 7.938 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 0.0001602/0.8513, allocations: 143.5 kB / 1.169 GB, free: 424 kB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.8513, allocations: 4.031 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.929e-05/0.8514, allocations: 7.469 kB / 1.169 GB, free: 408 kB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.8514, allocations: 4 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.8514, allocations: 0 / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.8514, allocations: 3.984 kB / 1.169 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002437/0.8516, allocations: 153.6 kB / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.8517, allocations: 0 / 1.169 GB, free: 196 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.761e-06/0.8517, allocations: 7.922 kB / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.8517, allocations: 0 / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.8517, allocations: 0 / 1.169 GB, free: 188 kB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.8517, allocations: 4 kB / 1.169 GB, free: 184 kB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8517, allocations: 7.984 kB / 1.169 GB, free: 176 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002164/0.852, allocations: 173.1 kB / 1.169 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.163e-05/0.852, allocations: 77.11 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.8521, allocations: 0 / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.757e-05/0.8522, allocations: 4 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.8522, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.863e-06/0.8522, allocations: 0 / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.089e-05/0.8523, allocations: 99.23 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8523, allocations: 3.938 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00046/0.8528, allocations: 15.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.0007177/0.8535, allocations: 0.6985 MB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.8537, allocations: 87.36 kB / 1.17 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.8538, allocations: 0 / 1.17 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.237e-05/0.8538, allocations: 63.39 kB / 1.17 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.8542, allocations: 6.5 kB / 1.17 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/0.8548, allocations: 134.4 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003922/0.8552, allocations: 0.6807 MB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.8554, allocations: 16.53 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.8555, allocations: 11.44 kB / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of SimCode: time 4.61e-07/0.8555, allocations: 0 / 1.171 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02631/0.8818, allocations: 1.443 MB / 1.173 GB, free: 12.65 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.679/8.561, allocations: 10.22 kB / 1.173 GB, free: 12.64 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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