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.008706/0.008706, allocations: 101.5 kB / 15.73 MB, free: 6.016 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.001618/0.001618, allocations: 196.1 kB / 16.67 MB, free: 5.938 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.252/2.252, allocations: 390.3 MB / 0.6648 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 67.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.83/0.8312, allocations: 140.4 MB / 1.088 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001748/0.833, allocations: 0.5834 MB / 1.088 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002503/0.8333, allocations: 39.11 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.591e-05/0.8333, allocations: 0 / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.8334, allocations: 1.156 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.8334, allocations: 1.5 kB / 1.088 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.8336, allocations: 15.55 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.29e-05/0.8337, allocations: 4.656 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.453e-05/0.8338, allocations: 2.109 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.844e-05/0.8338, allocations: 1.375 kB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.705e-05/0.8339, allocations: 10.5 kB / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.8339, allocations: 0 / 1.088 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 8.231e-05/0.834, allocations: 24 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.834, allocations: 3.984 kB / 1.088 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.834, allocations: 5.75 kB / 1.088 GB, free: 4.859 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.827e-05/0.8341, allocations: 26.17 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.8341, allocations: 1.75 kB / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8341, allocations: 0 / 1.088 GB, free: 4.848 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.8342, allocations: 0 / 1.088 GB, free: 4.848 MB / 0.8575 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.0002741/0.8344, allocations: 353.4 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.8345, allocations: 13.59 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.547e-05/0.8345, allocations: 32.66 kB / 1.089 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.002e-05/0.8345, allocations: 6.891 kB / 1.089 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.536e-05/0.8346, allocations: 164.8 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.8346, allocations: 384 / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.8346, allocations: 2.75 kB / 1.089 GB, free: 4.215 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.8348, allocations: 62.73 kB / 1.089 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8348, allocations: 3.938 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.076e-06/0.8348, allocations: 2.25 kB / 1.089 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.892e-05/0.8348, allocations: 14.03 kB / 1.089 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.495e-05/0.8349, allocations: 23.58 kB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.8352, allocations: 268.5 kB / 1.089 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.203e-05/0.8352, allocations: 18.58 kB / 1.089 GB, free: 3.848 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.8353, allocations: 10.75 kB / 1.089 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.8353, allocations: 5.656 kB / 1.089 GB, free: 3.832 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.8353, allocations: 36.16 kB / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.8353, allocations: 0 / 1.089 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0001634/0.8355, allocations: 67.11 kB / 1.089 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.8355, allocations: 78.75 kB / 1.089 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.825e-05/0.8356, allocations: 119.5 kB / 1.089 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.955e-06/0.8356, allocations: 26.8 kB / 1.089 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.17e-05/0.8356, allocations: 96.17 kB / 1.09 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.396e-06/0.8356, allocations: 9.594 kB / 1.09 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.849e-05/0.8357, allocations: 31.2 kB / 1.09 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.316e-05/0.8357, allocations: 317.2 kB / 1.09 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.8358, allocations: 12.8 kB / 1.09 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.8358, allocations: 61.59 kB / 1.09 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.8359, allocations: 128.5 kB / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.8359, allocations: 0 / 1.09 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001336/0.836, allocations: 120.3 kB / 1.09 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.8361, allocations: 32.69 kB / 1.09 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8361, allocations: 3.281 kB / 1.09 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.8361, allocations: 3.125 kB / 1.09 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.995e-05/0.8362, allocations: 15.27 kB / 1.09 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8362, allocations: 7 kB / 1.09 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.704e-05/0.8363, allocations: 8.812 kB / 1.09 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.8363, allocations: 13.45 kB / 1.09 GB, free: 2.691 MB / 0.8575 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.944e-05/0.8364, allocations: 143.7 kB / 1.09 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.432e-05/0.8364, allocations: 2.438 kB / 1.09 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.407e-05/0.8364, allocations: 5.281 kB / 1.09 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.8364, allocations: 1.125 kB / 1.09 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.8364, allocations: 0 / 1.09 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.8364, allocations: 5.562 kB / 1.09 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.8365, allocations: 157 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.8365, allocations: 1.375 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.8365, allocations: 4 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.8366, allocations: 0 / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.276e-06/0.8366, allocations: 1.938 kB / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.8366, allocations: 0 / 1.091 GB, free: 2.332 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.8366, allocations: 5.922 kB / 1.091 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.789e-05/0.8367, allocations: 171.7 kB / 1.091 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.823e-05/0.8367, allocations: 83 kB / 1.091 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.8367, allocations: 5.469 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.654e-05/0.8368, allocations: 6.109 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.205e-05/0.8368, allocations: 1.094 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.8368, allocations: 2.484 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.285e-05/0.8368, allocations: 93.22 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8368, allocations: 1.219 kB / 1.091 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002495/0.8371, allocations: 8.906 kB / 1.091 GB, free: 1.965 MB / 0.8575 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.0004026/0.8375, allocations: 0.7035 MB / 1.092 GB, free: 17.27 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.8376, allocations: 84.91 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.8377, allocations: 4 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.8377, allocations: 56.17 kB / 1.092 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.8379, allocations: 3.969 kB / 1.092 GB, free: 17.13 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003653/0.8383, allocations: 152.6 kB / 1.092 GB, free: 16.98 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000211/0.8385, allocations: 0.6775 MB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.671e-05/0.8386, allocations: 16.11 kB / 1.093 GB, free: 16.28 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.228e-05/0.8386, allocations: 9.297 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.8386, allocations: 3.938 kB / 1.093 GB, free: 16.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01836/0.857, allocations: 1.444 MB / 1.094 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/8.289, allocations: 13.81 kB / 1.094 GB, free: 15.89 MB / 0.8731 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