Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_9_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.001215/0.001215, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001175/0.001175, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.209/1.209, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.074/2.074, allocations: 390.2 MB / 0.6644 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.89 kB / 0.8122 GB, free: 14.66 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4677/0.4691, allocations: 140.4 MB / 0.9492 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001351/0.4705, allocations: 0.6467 MB / 0.9499 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001756/0.4707, allocations: 35.66 kB / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.397e-05/0.4707, allocations: 1.219 kB / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.37e-05/0.4707, allocations: 0 / 0.9499 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.866e-05/0.4708, allocations: 9.094 kB / 0.9499 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001537/0.4709, allocations: 8.625 kB / 0.9499 GB, free: 8.609 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.581e-05/0.471, allocations: 7.391 kB / 0.9499 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 2.785e-05/0.471, allocations: 1.156 kB / 0.9499 GB, free: 8.605 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.4711, allocations: 9.484 kB / 0.9499 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.699e-05/0.4711, allocations: 2.688 kB / 0.9499 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.4711, allocations: 0 / 0.9499 GB, free: 8.598 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.855e-05/0.4712, allocations: 19.58 kB / 0.95 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.388e-05/0.4712, allocations: 3.281 kB / 0.95 GB, free: 8.586 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.746e-05/0.4712, allocations: 5.094 kB / 0.95 GB, free: 8.582 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.12e-05/0.4713, allocations: 34.03 kB / 0.95 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4713, allocations: 3.938 kB / 0.95 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4713, allocations: 0 / 0.95 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.4713, allocations: 0 / 0.95 GB, free: 8.555 MB / 0.7169 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.0001935/0.4715, allocations: 359 kB / 0.9503 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.4715, allocations: 10.16 kB / 0.9504 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.725e-05/0.4716, allocations: 32.09 kB / 0.9504 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.044e-05/0.4716, allocations: 2.188 kB / 0.9504 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.764e-05/0.4716, allocations: 162.6 kB / 0.9505 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-06/0.4717, allocations: 1.75 kB / 0.9505 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.4717, allocations: 5.656 kB / 0.9506 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.54e-05/0.4718, allocations: 58.05 kB / 0.9506 GB, free: 7.875 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.4718, allocations: 3.938 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.4718, allocations: 1.281 kB / 0.9506 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/0.4718, allocations: 9 kB / 0.9506 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.4719, allocations: 23.52 kB / 0.9506 GB, free: 7.859 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002058/0.4721, allocations: 266.8 kB / 0.9509 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.262e-05/0.4721, allocations: 21.3 kB / 0.9509 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.221e-05/0.4721, allocations: 7.234 kB / 0.9509 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-06/0.4721, allocations: 0 / 0.9509 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.164e-05/0.4721, allocations: 31.69 kB / 0.951 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.513e-06/0.4722, allocations: 7.922 kB / 0.951 GB, free: 7.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.4723, allocations: 70.55 kB / 0.951 GB, free: 7.414 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.754e-05/0.4723, allocations: 77.11 kB / 0.9511 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.087e-05/0.4724, allocations: 118.1 kB / 0.9512 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.092e-06/0.4724, allocations: 27.17 kB / 0.9512 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.4724, allocations: 106.7 kB / 0.9513 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-06/0.4724, allocations: 9.594 kB / 0.9514 GB, free: 7.062 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.4724, allocations: 20.97 kB / 0.9514 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.363e-05/0.4725, allocations: 323.9 kB / 0.9517 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.4725, allocations: 14.06 kB / 0.9517 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.324e-05/0.4725, allocations: 66.11 kB / 0.9518 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.941e-05/0.4726, allocations: 132.6 kB / 0.9519 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.4726, allocations: 0 / 0.9519 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001053/0.4727, allocations: 116.6 kB / 0.952 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.4727, allocations: 31.83 kB / 0.952 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.4728, allocations: 5.281 kB / 0.952 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.4728, allocations: 2.656 kB / 0.952 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.427e-05/0.4728, allocations: 22.58 kB / 0.9521 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4728, allocations: 3.25 kB / 0.9521 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.4729, allocations: 8.594 kB / 0.9521 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.4729, allocations: 9.156 kB / 0.9521 GB, free: 6.34 MB / 0.7169 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 4.554e-05/0.473, allocations: 145.2 kB / 0.9522 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.473, allocations: 1.312 kB / 0.9522 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.127e-06/0.473, allocations: 8.844 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-07/0.473, allocations: 0 / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.473, allocations: 1.312 kB / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-06/0.473, allocations: 0 / 0.9522 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.47e-05/0.4731, allocations: 153.5 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4731, allocations: 1.344 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.2e-07/0.4731, allocations: 0 / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.4731, allocations: 0 / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.4731, allocations: 1.094 kB / 0.9524 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.4731, allocations: 5.469 kB / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.4731, allocations: 0 / 0.9524 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.609e-05/0.4732, allocations: 177.1 kB / 0.9526 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.363e-05/0.4732, allocations: 78.39 kB / 0.9526 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.4733, allocations: 1.188 kB / 0.9526 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.166e-05/0.4733, allocations: 5.391 kB / 0.9526 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.4733, allocations: 1.562 kB / 0.9526 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-06/0.4733, allocations: 1.656 kB / 0.9526 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.484e-05/0.4734, allocations: 90.95 kB / 0.9527 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4734, allocations: 4.031 kB / 0.9527 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002237/0.4736, allocations: 17.64 kB / 0.9527 GB, free: 5.602 MB / 0.7169 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.0002099/0.4738, allocations: 0.6982 MB / 0.9534 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 9.34e-05/0.4739, allocations: 91.73 kB / 0.9535 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4739, allocations: 0 / 0.9535 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.535e-05/0.4739, allocations: 55.97 kB / 0.9536 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.4741, allocations: 13.12 kB / 0.9536 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002673/0.4744, allocations: 148.6 kB / 0.9537 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.39e-05/0.4745, allocations: 0.6822 MB / 0.9544 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.417e-05/0.4745, allocations: 22.67 kB / 0.9544 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.591e-05/0.4746, allocations: 9.938 kB / 0.9544 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.4746, allocations: 0 / 0.9544 GB, free: 3.863 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9401/1.415, allocations: 1.319 MB / 0.9557 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001675/1.415, allocations: 217.1 kB / 0.9559 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.57/3.985, allocations: 1.188 kB / 0.9559 GB, free: 2.973 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches