Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001822/0.001822, allocations: 101.5 kB / 16.27 MB, free: 5.969 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.002084/0.002084, allocations: 189.7 kB / 17.2 MB, free: 5.594 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.769/2.769, allocations: 482.4 MB / 0.7553 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 74.19 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8983/0.9003, allocations: 162.2 MB / 1.083 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001747/0.9021, allocations: 0.5894 MB / 1.083 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002178/0.9023, allocations: 41.75 kB / 1.084 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.118e-05/0.9023, allocations: 0 / 1.084 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.482e-05/0.9024, allocations: 0 / 1.084 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.802e-05/0.9024, allocations: 1.25 kB / 1.084 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/0.9026, allocations: 16.98 kB / 1.084 GB, free: 1.246 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.766e-05/0.9027, allocations: 7.438 kB / 1.084 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.9027, allocations: 1.766 kB / 1.084 GB, free: 1.242 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.699e-05/0.9027, allocations: 6.656 kB / 1.084 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.912e-05/0.9027, allocations: 4.562 kB / 1.084 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.9028, allocations: 0.6562 kB / 1.084 GB, free: 1.234 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.141e-05/0.9028, allocations: 21.91 kB / 1.084 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.638e-05/0.9029, allocations: 1.875 kB / 1.084 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.9029, allocations: 5.719 kB / 1.084 GB, free: 1.223 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.743e-05/0.903, allocations: 27.62 kB / 1.084 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.903, allocations: 0 / 1.084 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.903, allocations: 0 / 1.084 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.903, allocations: 0 / 1.084 GB, free: 1.211 MB / 0.8262 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.0002611/0.9033, allocations: 354.4 kB / 1.084 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.9033, allocations: 9.219 kB / 1.084 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.025e-05/0.9034, allocations: 3 kB / 1.084 GB, free: 0.8203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.301e-05/0.9034, allocations: 166.9 kB / 1.084 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.9034, allocations: 1.688 kB / 1.084 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.008e-05/0.9035, allocations: 2.297 kB / 1.084 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.9036, allocations: 55.08 kB / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.9036, allocations: 192 / 1.084 GB, free: 0.5859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.586e-06/0.9036, allocations: 4.719 kB / 1.084 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.9036, allocations: 14.84 kB / 1.084 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.263e-05/0.9037, allocations: 27.5 kB / 1.084 GB, free: 0.5664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.9039, allocations: 265.6 kB / 1.084 GB, free: 292 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.943e-05/0.904, allocations: 21.95 kB / 1.085 GB, free: 264 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.683e-05/0.904, allocations: 7.812 kB / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.904, allocations: 0 / 1.085 GB, free: 256 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.9041, allocations: 35.84 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.9041, allocations: 0 / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001728/0.9042, allocations: 72.03 kB / 1.085 GB, free: 140 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.786e-05/0.9043, allocations: 83.28 kB / 1.085 GB, free: 40 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.9044, allocations: 114.3 kB / 1.085 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.9044, allocations: 27.75 kB / 1.085 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.227e-05/0.9045, allocations: 103.7 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.9045, allocations: 6.875 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.9046, allocations: 30.66 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.9047, allocations: 320.7 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.889e-05/0.9047, allocations: 9 kB / 1.085 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.066e-05/0.9048, allocations: 56.91 kB / 1.085 GB, free: 15.38 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001332/0.905, allocations: 133.2 kB / 1.085 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.905, allocations: 0.5 kB / 1.085 GB, free: 15.24 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001668/0.9051, allocations: 120 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 3.739e-05/0.9052, allocations: 33.08 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9052, allocations: 1.562 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.9052, allocations: 3.125 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.625e-05/0.9053, allocations: 11.73 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.9053, allocations: 3.984 kB / 1.086 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.965e-05/0.9054, allocations: 12.92 kB / 1.086 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.495e-05/0.9054, allocations: 9.344 kB / 1.086 GB, free: 15.11 MB / 0.8419 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 0.000109/0.9055, allocations: 150.5 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.9055, allocations: 2.906 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.452e-05/0.9056, allocations: 9.406 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.9056, allocations: 0.5625 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.9056, allocations: 0.9062 kB / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.9056, allocations: 0 / 1.086 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.9057, allocations: 153.7 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.9058, allocations: 1.125 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-06/0.9058, allocations: 4.703 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/0.9058, allocations: 3.938 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.9058, allocations: 2.031 kB / 1.086 GB, free: 14.75 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.9058, allocations: 4.609 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.9058, allocations: 480 / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.9059, allocations: 168.8 kB / 1.086 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.906, allocations: 86.48 kB / 1.086 GB, free: 14.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.906, allocations: 9.672 kB / 1.086 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.52e-05/0.9061, allocations: 2.141 kB / 1.086 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.608e-05/0.9061, allocations: 0.875 kB / 1.086 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.9061, allocations: 2.359 kB / 1.086 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.691e-05/0.9062, allocations: 90.52 kB / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9062, allocations: 0 / 1.086 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002485/0.9064, allocations: 17.91 kB / 1.086 GB, free: 14.38 MB / 0.8419 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.0001739/0.9066, allocations: 104.8 kB / 1.086 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.9068, allocations: 88.58 kB / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.9068, allocations: 0 / 1.087 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.9068, allocations: 56.45 kB / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001964/0.907, allocations: 1.875 kB / 1.087 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002495/0.9073, allocations: 143.9 kB / 1.087 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/0.9076, allocations: 0.6811 MB / 1.087 GB, free: 13.31 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.519e-05/0.9077, allocations: 14.44 kB / 1.087 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of SimCode: time 2.11e-07/0.9077, allocations: 0 / 1.087 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of Templates: time 0.002398/0.9101, allocations: 0.668 MB / 1.088 GB, free: 13.27 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches