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.001163/0.001164, 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.001182/0.001183, allocations: 193 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.205/1.205, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.262/2.262, allocations: 390.3 MB / 0.6647 GB, free: 472 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 67.89 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5102/0.5115, allocations: 140.4 MB / 0.9497 GB, free: 9.234 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001488/0.5131, allocations: 0.5829 MB / 0.9503 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.5132, allocations: 32.12 kB / 0.9503 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.5133, allocations: 1.375 kB / 0.9503 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.082e-05/0.5133, allocations: 0 / 0.9503 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.102e-05/0.5134, allocations: 5.375 kB / 0.9503 GB, free: 8.758 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.5135, allocations: 11.92 kB / 0.9504 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.444e-05/0.5136, allocations: 4.312 kB / 0.9504 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.339e-05/0.5136, allocations: 1.375 kB / 0.9504 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.666e-05/0.5136, allocations: 12.98 kB / 0.9504 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.628e-05/0.5137, allocations: 1.406 kB / 0.9504 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.5137, allocations: 0 / 0.9504 GB, free: 8.738 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.944e-05/0.5137, allocations: 19.95 kB / 0.9504 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.275e-05/0.5138, allocations: 2.375 kB / 0.9504 GB, free: 8.727 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.5138, allocations: 10.45 kB / 0.9504 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.379e-05/0.5139, allocations: 28.39 kB / 0.9504 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.5139, allocations: 0 / 0.9504 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5139, allocations: 0.9688 kB / 0.9504 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.5139, allocations: 0 / 0.9504 GB, free: 8.699 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.0002035/0.5141, allocations: 354.1 kB / 0.9508 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.5141, allocations: 9.469 kB / 0.9508 GB, free: 8.305 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.336e-05/0.5142, allocations: 36.17 kB / 0.9508 GB, free: 8.262 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.5142, allocations: 6.344 kB / 0.9508 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.185e-05/0.5142, allocations: 166.6 kB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.5143, allocations: 1.812 kB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.132e-06/0.5143, allocations: 5.438 kB / 0.951 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.601e-05/0.5144, allocations: 58.41 kB / 0.951 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.631e-06/0.5144, allocations: 7.875 kB / 0.951 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.312e-06/0.5144, allocations: 1.469 kB / 0.951 GB, free: 8.004 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.5144, allocations: 9.453 kB / 0.9511 GB, free: 8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.961e-05/0.5145, allocations: 19.97 kB / 0.9511 GB, free: 7.996 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002114/0.5147, allocations: 265.4 kB / 0.9513 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.219e-05/0.5147, allocations: 21.39 kB / 0.9513 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.5147, allocations: 15.19 kB / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-06/0.5148, allocations: 0 / 0.9514 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.389e-05/0.5148, allocations: 35.84 kB / 0.9514 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.5148, allocations: 0 / 0.9514 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001245/0.5149, allocations: 61.25 kB / 0.9515 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.11e-05/0.5149, allocations: 78.33 kB / 0.9515 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.213e-05/0.515, allocations: 127 kB / 0.9517 GB, free: 7.34 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.793e-06/0.515, allocations: 25.7 kB / 0.9517 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.477e-05/0.515, allocations: 95.55 kB / 0.9518 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.865e-06/0.515, allocations: 13.16 kB / 0.9518 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.5151, allocations: 29.27 kB / 0.9518 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.416e-05/0.5151, allocations: 316 kB / 0.9521 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.108e-05/0.5151, allocations: 10.36 kB / 0.9521 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.445e-05/0.5152, allocations: 69.8 kB / 0.9522 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.217e-05/0.5153, allocations: 123.5 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5153, allocations: 5.219 kB / 0.9523 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001132/0.5154, allocations: 115.7 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.5154, allocations: 33.52 kB / 0.9525 GB, free: 6.508 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.5154, allocations: 5.406 kB / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.13e-05/0.5154, allocations: 2.531 kB / 0.9525 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.642e-05/0.5155, allocations: 14.53 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5155, allocations: 3.219 kB / 0.9525 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.5156, allocations: 12.3 kB / 0.9525 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.5156, allocations: 9.906 kB / 0.9525 GB, free: 6.488 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.864e-05/0.5156, allocations: 140.7 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.5157, allocations: 1.344 kB / 0.9526 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.027e-05/0.5157, allocations: 9.094 kB / 0.9526 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.5157, allocations: 0 / 0.9526 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.5157, allocations: 6.047 kB / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.5157, allocations: 0 / 0.9526 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.195e-05/0.5158, allocations: 154 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.5158, allocations: 3.984 kB / 0.9528 GB, free: 6.125 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.5158, allocations: 7.875 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.5158, allocations: 0 / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.5158, allocations: 2 kB / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.5158, allocations: 0 / 0.9528 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5158, allocations: 4 kB / 0.9528 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.896e-05/0.5159, allocations: 173.6 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.5159, allocations: 82.53 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.5159, allocations: 1.375 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.637e-05/0.516, allocations: 1.344 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.498e-06/0.516, allocations: 0 / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.516, allocations: 2.125 kB / 0.9531 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.639e-05/0.5161, allocations: 99.25 kB / 0.9532 GB, free: 5.746 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5161, allocations: 4.031 kB / 0.9532 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002371/0.5163, allocations: 10.22 kB / 0.9532 GB, free: 5.742 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.000237/0.5165, allocations: 0.7065 MB / 0.9539 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.5167, allocations: 87.89 kB / 0.9539 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5167, allocations: 4 kB / 0.9539 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.767e-05/0.5167, allocations: 59.64 kB / 0.954 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.5169, allocations: 2.719 kB / 0.954 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.5172, allocations: 145 kB / 0.9541 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.987e-05/0.5173, allocations: 0.6823 MB / 0.9548 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.441e-05/0.5173, allocations: 19.53 kB / 0.9548 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.5174, allocations: 8.938 kB / 0.9548 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.5174, allocations: 0 / 0.9548 GB, free: 4.012 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1626/0.68, allocations: 1.394 MB / 0.9562 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.678/8.358, allocations: 16.12 kB / 0.9562 GB, free: 3.246 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