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: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008773/0.0008771, allocations: 92.78 kB / 16.02 MB, free: 80 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.001012/0.001012, allocations: 178.5 kB / 16.92 MB, free: 6.652 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.432/1.432, allocations: 223.3 MB / 241 MB, free: 5.27 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.517/2.517, allocations: 390.9 MB / 0.667 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003966/0.0003967, allocations: 16 kB / 0.8166 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7344/0.7348, allocations: 142.4 MB / 0.9557 GB, free: 7.547 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006555/0.7355, allocations: 324.3 kB / 0.956 GB, free: 7.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002417/0.7358, allocations: 39.38 kB / 0.9561 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.207e-05/0.7358, allocations: 0 / 0.9561 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.181e-05/0.7359, allocations: 0 / 0.9561 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.743e-05/0.7359, allocations: 1.406 kB / 0.9561 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001278/0.736, allocations: 10.52 kB / 0.9561 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 3.475e-05/0.7361, allocations: 2.969 kB / 0.9561 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.394e-05/0.7361, allocations: 5.438 kB / 0.9561 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 1.636e-05/0.7361, allocations: 2.562 kB / 0.9561 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 1.995e-05/0.7362, allocations: 9.094 kB / 0.9561 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.837e-06/0.7362, allocations: 0 / 0.9561 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.7363, allocations: 15.98 kB / 0.9561 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.333e-05/0.7363, allocations: 6.609 kB / 0.9561 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.7363, allocations: 30.77 kB / 0.9562 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.687e-05/0.7364, allocations: 19.22 kB / 0.9562 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.7364, allocations: 1.125 kB / 0.9562 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7364, allocations: 0 / 0.9562 GB, free: 7.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.7364, allocations: 0 / 0.9562 GB, free: 7.195 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.0002098/0.7366, allocations: 351.1 kB / 0.9565 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.7367, allocations: 8.938 kB / 0.9565 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.7367, allocations: 1.969 kB / 0.9565 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.796e-05/0.7368, allocations: 171.3 kB / 0.9567 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.7368, allocations: 1.562 kB / 0.9567 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.325e-06/0.7368, allocations: 1.375 kB / 0.9567 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001141/0.7369, allocations: 62.31 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.7369, allocations: 1.188 kB / 0.9567 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.7369, allocations: 7.922 kB / 0.9567 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.193e-05/0.737, allocations: 9.844 kB / 0.9568 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.702e-05/0.737, allocations: 23.14 kB / 0.9568 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.7373, allocations: 275.2 kB / 0.957 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.795e-05/0.7373, allocations: 16.83 kB / 0.9571 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.608e-05/0.7374, allocations: 11.3 kB / 0.9571 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 5.471e-06/0.7374, allocations: 0 / 0.9571 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.7374, allocations: 39.61 kB / 0.9571 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.7374, allocations: 3.938 kB / 0.9571 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0001401/0.7375, allocations: 65.25 kB / 0.9572 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.7376, allocations: 78.55 kB / 0.9572 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.436e-05/0.7376, allocations: 122.1 kB / 0.9574 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.7377, allocations: 26.73 kB / 0.9574 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.7377, allocations: 94.11 kB / 0.9575 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.067e-06/0.7377, allocations: 13.19 kB / 0.9575 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.7377, allocations: 16.12 kB / 0.9575 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.429e-05/0.7378, allocations: 324.9 kB / 0.9578 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.177e-05/0.7378, allocations: 5.875 kB / 0.9578 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.802e-05/0.7378, allocations: 58.02 kB / 0.9579 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.227e-05/0.7379, allocations: 133.2 kB / 0.958 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.7379, allocations: 4 kB / 0.958 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001348/0.7381, allocations: 116 kB / 0.9581 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.7381, allocations: 35.56 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.7381, allocations: 2.375 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7381, allocations: 2.344 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.012e-05/0.7382, allocations: 11.06 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7382, allocations: 1.25 kB / 0.9582 GB, free: 5.039 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.362e-05/0.7383, allocations: 17.19 kB / 0.9582 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.7383, allocations: 8.781 kB / 0.9582 GB, free: 5.023 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 6.419e-05/0.7384, allocations: 144.8 kB / 0.9583 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.7384, allocations: 2.062 kB / 0.9583 GB, free: 4.871 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.409e-05/0.7384, allocations: 10.03 kB / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7384, allocations: 0 / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7385, allocations: 0 / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.7385, allocations: 0 / 0.9583 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.7386, allocations: 154.5 kB / 0.9585 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7386, allocations: 4 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.32e-07/0.7386, allocations: 1.344 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.7386, allocations: 0 / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.7386, allocations: 1.594 kB / 0.9585 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.7386, allocations: 7.922 kB / 0.9585 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7386, allocations: 0 / 0.9585 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.921e-05/0.7387, allocations: 165.5 kB / 0.9587 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.404e-05/0.7388, allocations: 86.5 kB / 0.9587 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.7388, allocations: 9.406 kB / 0.9588 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.7388, allocations: 1.5 kB / 0.9588 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.7389, allocations: 4 kB / 0.9588 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.7389, allocations: 2.906 kB / 0.9588 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.079e-05/0.7389, allocations: 86.61 kB / 0.9588 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7389, allocations: 0 / 0.9588 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002442/0.7392, allocations: 17.41 kB / 0.9589 GB, free: 4.281 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.0001436/0.7393, allocations: 103.1 kB / 0.959 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.7394, allocations: 87.77 kB / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.7394, allocations: 0 / 0.959 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.167e-05/0.7395, allocations: 59.34 kB / 0.9591 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.7397, allocations: 7.5 kB / 0.9591 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001819/0.7398, allocations: 133 kB / 0.9592 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001073/0.74, allocations: 0.6778 MB / 0.9599 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.109e-05/0.74, allocations: 13 kB / 0.9599 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of SimCode: time 6.42e-07/0.74, allocations: 0 / 0.9599 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of Templates: time 0.002021/0.742, allocations: 0.6737 MB / 0.9606 GB, free: 2.863 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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