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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.00109/0.00109, allocations: 92.7 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.001521/0.001521, allocations: 179.1 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.686/2.686, allocations: 462.7 MB / 0.7371 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003713, allocations: 11.44 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3506, allocations: 159.6 MB / 1.059 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006872/0.3513, allocations: 326.9 kB / 1.06 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002601/0.3516, allocations: 43.81 kB / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.659e-05/0.3517, allocations: 0 / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.589e-05/0.3517, allocations: 0 / 1.06 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.677e-05/0.3517, allocations: 4 kB / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.3519, allocations: 7.984 kB / 1.06 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.438e-05/0.352, allocations: 4 kB / 1.06 GB, free: 4.629 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.789e-05/0.352, allocations: 4 kB / 1.06 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.815e-05/0.352, allocations: 4 kB / 1.06 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.593e-05/0.3521, allocations: 7.984 kB / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3521, allocations: 0 / 1.06 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 8.202e-05/0.3522, allocations: 23.91 kB / 1.06 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.955e-05/0.3522, allocations: 4 kB / 1.06 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.3523, allocations: 29.64 kB / 1.06 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.894e-05/0.3523, allocations: 19.98 kB / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.3523, allocations: 0 / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3523, allocations: 0 / 1.06 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.182e-06/0.3524, allocations: 0 / 1.06 GB, free: 4.531 MB / 0.8106 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.000278/0.3526, allocations: 357.2 kB / 1.06 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3527, allocations: 8.031 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.3527, allocations: 0.9375 kB / 1.06 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.407e-05/0.3528, allocations: 168.6 kB / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.3528, allocations: 384 / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.3528, allocations: 384 / 1.06 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.353, allocations: 58.25 kB / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.106e-06/0.353, allocations: 192 / 1.06 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.353, allocations: 11.86 kB / 1.06 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.85e-05/0.3531, allocations: 19.98 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.692e-05/0.3531, allocations: 23.98 kB / 1.06 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.3534, allocations: 256.8 kB / 1.061 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 4.669e-05/0.3535, allocations: 26.5 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.923e-05/0.3535, allocations: 8.859 kB / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-06/0.3535, allocations: 0 / 1.061 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.3536, allocations: 42.56 kB / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.3536, allocations: 0 / 1.061 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001575/0.3537, allocations: 63.39 kB / 1.061 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.3538, allocations: 81.11 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.855e-05/0.3539, allocations: 117.8 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/0.3539, allocations: 25.7 kB / 1.061 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.3539, allocations: 99.8 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-06/0.354, allocations: 11.98 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.379e-05/0.354, allocations: 13.84 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.3541, allocations: 322.8 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.442e-05/0.3541, allocations: 7.984 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.375e-05/0.3542, allocations: 62.8 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.3543, allocations: 130.2 kB / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3543, allocations: 0 / 1.062 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001468/0.3545, allocations: 119.2 kB / 1.062 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.767e-05/0.3545, allocations: 35.27 kB / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3545, allocations: 0 / 1.062 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3546, allocations: 4 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.153e-05/0.3546, allocations: 11.94 kB / 1.062 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.3547, allocations: 7.984 kB / 1.062 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.3547, allocations: 12.16 kB / 1.062 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.3547, allocations: 11.94 kB / 1.062 GB, free: 2.141 MB / 0.8106 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.231e-05/0.3548, allocations: 147.4 kB / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.327e-05/0.3549, allocations: 0 / 1.062 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.864e-05/0.3549, allocations: 15.52 kB / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3549, allocations: 0 / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3549, allocations: 0 / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.3549, allocations: 0 / 1.062 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001359/0.3551, allocations: 153.6 kB / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3551, allocations: 0 / 1.062 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-06/0.3551, allocations: 4 kB / 1.062 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.3551, allocations: 3.938 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.3551, allocations: 4 kB / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3551, allocations: 0 / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3551, allocations: 0 / 1.062 GB, free: 1.754 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.3552, allocations: 169.1 kB / 1.062 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.3553, allocations: 77.11 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.24e-05/0.3553, allocations: 0 / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.3554, allocations: 8.031 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.351e-05/0.3554, allocations: 7.938 kB / 1.062 GB, free: 1.457 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.3554, allocations: 4 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.147e-05/0.3554, allocations: 83.34 kB / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3554, allocations: 0 / 1.062 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002472/0.3557, allocations: 15.94 kB / 1.062 GB, free: 1.355 MB / 0.8106 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.0001853/0.3559, allocations: 115.2 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001337/0.356, allocations: 91.27 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.356, allocations: 0 / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 3.038e-05/0.3561, allocations: 55.41 kB / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.3563, allocations: 0 / 1.063 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002165/0.3565, allocations: 144.2 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002047/0.3567, allocations: 0.6815 MB / 1.064 GB, free: 188 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.3567, allocations: 15.44 kB / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3567, allocations: 0 / 1.064 GB, free: 172 kB / 0.8106 GB Notification: Performance of Templates: time 0.002148/0.3589, allocations: 0.6767 MB / 1.064 GB, free: 15.5 MB / 0.8262 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=480 -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