Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.00727/0.00727, allocations: 96.73 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.001634/0.001634, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.752/2.752, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 71.89 kB / 1.065 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3468/0.348, allocations: 159.1 MB / 1.221 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001659/0.3497, allocations: 0.5779 MB / 1.221 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002501/0.3499, allocations: 43.86 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.35, allocations: 0 / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.35, allocations: 7.938 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 3.457e-05/0.35, allocations: 4 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.3502, allocations: 15.92 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.815e-05/0.3503, allocations: 4 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.005e-05/0.3504, allocations: 0 / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.313e-05/0.3504, allocations: 4 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.3504, allocations: 3.984 kB / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.3504, allocations: 0 / 1.221 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.68e-05/0.3505, allocations: 19.98 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.35e-05/0.3506, allocations: 4 kB / 1.221 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.344e-05/0.3506, allocations: 7.922 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.399e-05/0.3507, allocations: 23.92 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3507, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3507, allocations: 4 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.3507, allocations: 0 / 1.221 GB, free: 13.05 MB / 0.9825 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.0003674/0.3511, allocations: 357.1 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.321e-05/0.3511, allocations: 8.031 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.3511, allocations: 0.9375 kB / 1.222 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001013/0.3512, allocations: 168.3 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.3512, allocations: 384 / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.3512, allocations: 8.359 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.3514, allocations: 54.25 kB / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3514, allocations: 192 / 1.222 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.3514, allocations: 7.922 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.3514, allocations: 8 kB / 1.222 GB, free: 12.35 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.6e-05/0.3515, allocations: 23.98 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003484/0.3518, allocations: 268.8 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.392e-05/0.3519, allocations: 34.44 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.3519, allocations: 6.703 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.3519, allocations: 3.938 kB / 1.222 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.3519, allocations: 34.62 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.152e-06/0.3519, allocations: 0 / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001719/0.3521, allocations: 71.33 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/0.3521, allocations: 77.11 kB / 1.222 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.3522, allocations: 121.8 kB / 1.223 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.3523, allocations: 33.7 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.017e-05/0.3523, allocations: 99.98 kB / 1.223 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.3523, allocations: 7.953 kB / 1.223 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.3524, allocations: 21.72 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.3525, allocations: 318.8 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.627e-05/0.3526, allocations: 11.98 kB / 1.223 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.743e-05/0.3526, allocations: 62.92 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3527, allocations: 134.1 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3527, allocations: 0 / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002062/0.3529, allocations: 115.2 kB / 1.223 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.423e-05/0.353, allocations: 35.42 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.353, allocations: 256 / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.353, allocations: 8 kB / 1.223 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.218e-05/0.3531, allocations: 15.98 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.3531, allocations: 0 / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.3532, allocations: 15.89 kB / 1.223 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.3532, allocations: 8 kB / 1.223 GB, free: 10.64 MB / 0.9825 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.0001273/0.3533, allocations: 147.4 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.3533, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.59e-05/0.3533, allocations: 11.53 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.3533, allocations: 4 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3533, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.3533, allocations: 0 / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001595/0.3535, allocations: 153.6 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.3535, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.3535, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.3535, allocations: 4 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.3535, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3535, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.3535, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.3536, allocations: 181 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.3537, allocations: 77.11 kB / 1.224 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.3537, allocations: 4 kB / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.54e-05/0.3538, allocations: 0 / 1.224 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.332e-05/0.3538, allocations: 11.92 kB / 1.224 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.3538, allocations: 8 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.538e-05/0.3538, allocations: 83.28 kB / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3538, allocations: 0 / 1.224 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002582/0.3541, allocations: 19.97 kB / 1.224 GB, free: 9.84 MB / 0.9825 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.0001987/0.3543, allocations: 115.2 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001358/0.3544, allocations: 83.33 kB / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3544, allocations: 0 / 1.224 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.477e-05/0.3545, allocations: 55.41 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.3547, allocations: 0.5625 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002404/0.3549, allocations: 124.7 kB / 1.224 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.3552, allocations: 0.6768 MB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.093e-05/0.3553, allocations: 15.97 kB / 1.225 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.298e-05/0.3553, allocations: 7.438 kB / 1.225 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3553, allocations: 4 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.002717/0.358, allocations: 0.5184 MB / 1.226 GB, free: 8.164 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches