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.001368/0.001368, allocations: 108 kB / 15.6 MB, free: 132 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.00144/0.00144, allocations: 192 kB / 16.53 MB, free: 6.391 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.321/1.321, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.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.484/2.484, allocations: 437 MB / 0.7104 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002346, allocations: 71.89 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6548, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001936/0.6567, allocations: 0.5894 MB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002096/0.657, allocations: 35.86 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.728e-05/0.657, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.657, allocations: 0 / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.25e-05/0.6571, allocations: 11.88 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001761/0.6573, allocations: 8 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.072e-05/0.6573, allocations: 11.98 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.654e-05/0.6574, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.74e-05/0.6574, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.172e-05/0.6574, allocations: 8 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.6574, allocations: 0 / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.028e-05/0.6575, allocations: 19.98 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/0.6576, allocations: 3.984 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.6576, allocations: 11.94 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.731e-05/0.6577, allocations: 19.91 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6577, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6577, allocations: 0 / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.778e-06/0.6577, allocations: 3.938 kB / 1.018 GB, free: 1.734 MB / 0.7637 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.0003069/0.658, allocations: 353.2 kB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.658e-05/0.6581, allocations: 16.03 kB / 1.018 GB, free: 1.316 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.155e-05/0.6581, allocations: 30.75 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.674e-05/0.6581, allocations: 4.938 kB / 1.019 GB, free: 1.273 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.6583, allocations: 166.6 kB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-06/0.6583, allocations: 384 / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.6583, allocations: 4.375 kB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.6584, allocations: 62.22 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.6584, allocations: 3.938 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.6585, allocations: 4 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.29e-05/0.6585, allocations: 8 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.581e-05/0.6585, allocations: 23.98 kB / 1.019 GB, free: 0.9648 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.6588, allocations: 264.7 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.25e-05/0.6589, allocations: 22.58 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.671e-05/0.6589, allocations: 8.844 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.6589, allocations: 4.062 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.659, allocations: 38.5 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.659, allocations: 0 / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001645/0.6591, allocations: 67.33 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.946e-05/0.6592, allocations: 81.11 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.6593, allocations: 117.8 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.252e-05/0.6593, allocations: 25.7 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.6593, allocations: 107.8 kB / 1.019 GB, free: 124 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.515e-06/0.6594, allocations: 3.938 kB / 1.019 GB, free: 120 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/0.6594, allocations: 25.84 kB / 1.02 GB, free: 88 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.6595, allocations: 314.8 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.05e-05/0.6596, allocations: 15.98 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.163e-05/0.6596, allocations: 58.86 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.6597, allocations: 126.1 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.6597, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001621/0.6599, allocations: 131.1 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.6599, allocations: 33.7 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.66, allocations: 480 / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.66, allocations: 4 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.121e-05/0.66, allocations: 15.98 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.6601, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.6601, allocations: 8.188 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.6601, allocations: 15.94 kB / 1.02 GB, free: 15.29 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 0.0001047/0.6603, allocations: 143.5 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.6603, allocations: 7.906 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.41e-05/0.6603, allocations: 3.531 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.6603, allocations: 3.938 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.6603, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.6603, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.6605, allocations: 161.7 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6605, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.6605, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.275e-06/0.6605, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.6605, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6605, allocations: 0 / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6605, allocations: 3.984 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001252/0.6607, allocations: 169.1 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.6607, allocations: 85.05 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.6607, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.492e-05/0.6608, allocations: 4.031 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.396e-05/0.6608, allocations: 3.984 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.6608, allocations: 4 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.6609, allocations: 91.22 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6609, allocations: 0 / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002413/0.6611, allocations: 8 kB / 1.021 GB, free: 14.5 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.0004409/0.6616, allocations: 0.7102 MB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001342/0.6617, allocations: 87.27 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.6617, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.389e-05/0.6618, allocations: 59.41 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.662, allocations: 0.5938 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004166/0.6624, allocations: 150.6 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.6627, allocations: 0.6768 MB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.133e-05/0.6628, allocations: 11.98 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.6628, allocations: 11.44 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6628, allocations: 0 / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01852/0.6813, allocations: 1.411 MB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.096/7.777, allocations: 7.891 kB / 1.024 GB, free: 11.37 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