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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001268/0.001268, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001192/0.001192, allocations: 193.7 kB / 16.14 MB, free: 6.699 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.258/1.258, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.247/2.247, allocations: 390.2 MB / 0.6643 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.91 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.58/0.5813, allocations: 140.4 MB / 0.9491 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001865/0.5832, allocations: 0.6429 MB / 0.9497 GB, free: 8.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002455/0.5835, allocations: 43.12 kB / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.534e-05/0.5835, allocations: 0 / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.754e-05/0.5836, allocations: 0 / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.04e-05/0.5836, allocations: 1.375 kB / 0.9497 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.5838, allocations: 8.203 kB / 0.9497 GB, free: 8.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.924e-05/0.5838, allocations: 5.688 kB / 0.9498 GB, free: 8.664 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/0.5839, allocations: 5.281 kB / 0.9498 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.829e-05/0.5839, allocations: 10.34 kB / 0.9498 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.064e-05/0.5839, allocations: 1.438 kB / 0.9498 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.5839, allocations: 0 / 0.9498 GB, free: 8.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 8.347e-05/0.584, allocations: 20.61 kB / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.584, allocations: 2.531 kB / 0.9498 GB, free: 8.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.508e-05/0.5841, allocations: 8.969 kB / 0.9498 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.434e-05/0.5842, allocations: 29.27 kB / 0.9498 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.5842, allocations: 0 / 0.9498 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.82e-07/0.5842, allocations: 0 / 0.9498 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.636e-06/0.5842, allocations: 5.125 kB / 0.9498 GB, free: 8.609 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.0002427/0.5844, allocations: 353.4 kB / 0.9502 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.5845, allocations: 8.969 kB / 0.9502 GB, free: 8.215 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.289e-05/0.5845, allocations: 32.16 kB / 0.9502 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.543e-05/0.5845, allocations: 2.75 kB / 0.9502 GB, free: 8.176 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.105e-05/0.5846, allocations: 164.4 kB / 0.9504 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.5846, allocations: 4.359 kB / 0.9504 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.5846, allocations: 9.859 kB / 0.9504 GB, free: 7.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.5847, allocations: 58.56 kB / 0.9504 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5848, allocations: 7.938 kB / 0.9504 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.5848, allocations: 0 / 0.9504 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.676e-05/0.5848, allocations: 5.062 kB / 0.9504 GB, free: 7.918 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.495e-05/0.5849, allocations: 24.02 kB / 0.9505 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002522/0.5851, allocations: 267.3 kB / 0.9507 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.016e-05/0.5852, allocations: 21.33 kB / 0.9507 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.385e-05/0.5852, allocations: 10.27 kB / 0.9508 GB, free: 7.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.5852, allocations: 4 kB / 0.9508 GB, free: 7.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.411e-05/0.5852, allocations: 31.84 kB / 0.9508 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.5852, allocations: 0 / 0.9508 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.5854, allocations: 66.33 kB / 0.9509 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.5854, allocations: 77.11 kB / 0.9509 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.156e-05/0.5855, allocations: 123.5 kB / 0.951 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.5855, allocations: 25.7 kB / 0.9511 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.5855, allocations: 110.7 kB / 0.9512 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.376e-06/0.5855, allocations: 9.219 kB / 0.9512 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.332e-05/0.5856, allocations: 25.91 kB / 0.9512 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.213e-05/0.5856, allocations: 320.1 kB / 0.9515 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.399e-05/0.5856, allocations: 10.88 kB / 0.9515 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.694e-05/0.5857, allocations: 60.48 kB / 0.9516 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.055e-05/0.5858, allocations: 129.4 kB / 0.9517 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5858, allocations: 0 / 0.9517 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001334/0.5859, allocations: 116.4 kB / 0.9518 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.5859, allocations: 31.2 kB / 0.9518 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.586, allocations: 2.75 kB / 0.9518 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.586, allocations: 5.359 kB / 0.9519 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.586, allocations: 15.19 kB / 0.9519 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.5861, allocations: 10.69 kB / 0.9519 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.893e-05/0.5861, allocations: 12.03 kB / 0.9519 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.5861, allocations: 9.438 kB / 0.9519 GB, free: 6.395 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 5.936e-05/0.5862, allocations: 145 kB / 0.952 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.564e-05/0.5862, allocations: 1.375 kB / 0.952 GB, free: 6.242 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.508e-06/0.5863, allocations: 8.844 kB / 0.952 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.5863, allocations: 1.375 kB / 0.952 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.5863, allocations: 0 / 0.952 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.5863, allocations: 4 kB / 0.9521 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001047/0.5864, allocations: 159.1 kB / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5864, allocations: 0 / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.61e-07/0.5864, allocations: 0 / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.5864, allocations: 0 / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.5864, allocations: 1.375 kB / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5864, allocations: 1.375 kB / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5864, allocations: 0 / 0.9522 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.471e-05/0.5865, allocations: 173.5 kB / 0.9524 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.5865, allocations: 78.48 kB / 0.9524 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.5866, allocations: 3.984 kB / 0.9525 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.114e-05/0.5866, allocations: 1.375 kB / 0.9525 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.506e-05/0.5866, allocations: 1.375 kB / 0.9525 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.5866, allocations: 2.75 kB / 0.9525 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.5867, allocations: 94.08 kB / 0.9525 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.71e-07/0.5867, allocations: 3.938 kB / 0.9525 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002444/0.5869, allocations: 13.56 kB / 0.9526 GB, free: 5.656 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.0002758/0.5872, allocations: 0.7023 MB / 0.9532 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.5873, allocations: 83.64 kB / 0.9533 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.5873, allocations: 1.625 kB / 0.9533 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.928e-05/0.5874, allocations: 62.66 kB / 0.9534 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.5876, allocations: 11.98 kB / 0.9534 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.5879, allocations: 143.1 kB / 0.9535 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.726e-05/0.588, allocations: 0.6771 MB / 0.9542 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.183e-05/0.5881, allocations: 11.08 kB / 0.9542 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.5881, allocations: 16.84 kB / 0.9542 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.5881, allocations: 1.406 kB / 0.9542 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3066/0.8948, allocations: 1.282 MB / 0.9555 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001689/0.895, allocations: 224.6 kB / 0.9557 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.676, allocations: 5.438 kB / 0.9557 GB, free: 3.035 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