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: 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.007265/0.007265, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001837/0.001837, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.13 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.238/2.238, allocations: 390.2 MB / 0.6648 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 71.89 kB / 0.9509 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9456/0.9471, allocations: 140.4 MB / 1.088 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002275/0.9494, allocations: 0.583 MB / 1.089 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003131/0.9497, allocations: 46.27 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.17e-05/0.9498, allocations: 1.5 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.9498, allocations: 0 / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.9499, allocations: 2.125 kB / 1.089 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002643/0.9502, allocations: 15 kB / 1.089 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.918e-05/0.9503, allocations: 8.266 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.663e-05/0.9503, allocations: 2.203 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 2.391e-05/0.9504, allocations: 1.438 kB / 1.089 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.185e-05/0.9504, allocations: 6.141 kB / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.9504, allocations: 0 / 1.089 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.9506, allocations: 25.03 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.012e-05/0.9506, allocations: 3.516 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.9506, allocations: 5.094 kB / 1.089 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.9508, allocations: 18.91 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.9508, allocations: 1.219 kB / 1.089 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9508, allocations: 4 kB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.9508, allocations: 0 / 1.089 GB, free: 5.066 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.0003346/0.9512, allocations: 354.2 kB / 1.089 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.9512, allocations: 8.406 kB / 1.089 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.9513, allocations: 7.172 kB / 1.089 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.087e-05/0.9514, allocations: 165.9 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.9514, allocations: 1.5 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.9514, allocations: 1.562 kB / 1.089 GB, free: 4.477 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.9516, allocations: 66.91 kB / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.9516, allocations: 192 / 1.089 GB, free: 4.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.9516, allocations: 5.781 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.9517, allocations: 6.156 kB / 1.089 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.977e-05/0.9518, allocations: 27.31 kB / 1.089 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.9522, allocations: 261.8 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.47e-05/0.9522, allocations: 21.84 kB / 1.09 GB, free: 4.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.983e-05/0.9523, allocations: 16.38 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.9523, allocations: 0 / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.506e-05/0.9523, allocations: 32.59 kB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.9523, allocations: 0 / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0002206/0.9526, allocations: 71.17 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.9526, allocations: 78.95 kB / 1.09 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.983e-05/0.9527, allocations: 114.4 kB / 1.09 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.9527, allocations: 27.81 kB / 1.09 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.9528, allocations: 105.9 kB / 1.09 GB, free: 3.656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.116e-05/0.9528, allocations: 6.062 kB / 1.09 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.9529, allocations: 25.95 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.665e-05/0.953, allocations: 322 kB / 1.09 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.197e-05/0.953, allocations: 13.25 kB / 1.09 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.9531, allocations: 69.78 kB / 1.09 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.9532, allocations: 131.7 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.9532, allocations: 1.25 kB / 1.091 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002147/0.9534, allocations: 116.2 kB / 1.091 GB, free: 3 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.919e-05/0.9535, allocations: 32.75 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9535, allocations: 1.312 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.9535, allocations: 2.938 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.47e-05/0.9536, allocations: 20.2 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.9537, allocations: 3.844 kB / 1.091 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.977e-05/0.9537, allocations: 8.297 kB / 1.091 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.51e-05/0.9538, allocations: 9.719 kB / 1.091 GB, free: 2.953 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 9.044e-05/0.9539, allocations: 142.5 kB / 1.091 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.258e-05/0.9539, allocations: 6.469 kB / 1.091 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.106e-05/0.954, allocations: 5.625 kB / 1.091 GB, free: 2.793 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.954, allocations: 4.719 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.954, allocations: 4.516 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.954, allocations: 0.8125 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.9542, allocations: 157.6 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9542, allocations: 0 / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.583e-06/0.9542, allocations: 1.297 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.9542, allocations: 0 / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.9542, allocations: 2.75 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.9542, allocations: 0 / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9542, allocations: 0.6875 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001188/0.9544, allocations: 172.3 kB / 1.091 GB, free: 2.414 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.9544, allocations: 78.69 kB / 1.091 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.9544, allocations: 5.203 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.039e-05/0.9545, allocations: 2.031 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.484e-05/0.9546, allocations: 1.562 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-06/0.9546, allocations: 2.656 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.682e-05/0.9546, allocations: 89.23 kB / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9546, allocations: 0 / 1.091 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003825/0.955, allocations: 14.2 kB / 1.091 GB, free: 2.234 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.0001758/0.9552, allocations: 112.8 kB / 1.091 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001693/0.9554, allocations: 88.11 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.9554, allocations: 1.375 kB / 1.092 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/0.9555, allocations: 56.06 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.9558, allocations: 2.906 kB / 1.092 GB, free: 2.004 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002613/0.9561, allocations: 112.8 kB / 1.092 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002424/0.9563, allocations: 0.6779 MB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.000106/0.9565, allocations: 15.5 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.592e-05/0.9565, allocations: 9.375 kB / 1.092 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of SimCode: time 3.11e-07/0.9565, allocations: 0 / 1.092 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of Templates: time 0.004057/0.9606, allocations: 0.5248 MB / 1.093 GB, free: 17.1 MB / 0.8731 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/jenkins/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