Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001696/0.001696, allocations: 108 kB / 15.61 MB, free: 152 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.002082/0.002082, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.347/1.347, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.521/2.521, allocations: 437 MB / 0.7103 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.89 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6074/0.6089, allocations: 151.6 MB / 1.017 GB, free: 2.527 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001908/0.6108, allocations: 0.5824 MB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002723/0.6111, allocations: 35.88 kB / 1.018 GB, free: 1.906 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.6112, allocations: 3.938 kB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.321e-05/0.6112, allocations: 3.938 kB / 1.018 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.097e-05/0.6113, allocations: 4 kB / 1.018 GB, free: 1.895 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002279/0.6115, allocations: 11.98 kB / 1.018 GB, free: 1.883 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.965e-05/0.6116, allocations: 4 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.6117, allocations: 3.984 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.6117, allocations: 3.984 kB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.959e-05/0.6117, allocations: 8 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.6117, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.6119, allocations: 19.98 kB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.071e-05/0.6119, allocations: 0 / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.633e-05/0.6119, allocations: 7.938 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 9.614e-05/0.612, allocations: 23.92 kB / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.612, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.703e-06/0.612, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.6121, allocations: 0 / 1.018 GB, free: 1.812 MB / 0.7637 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.0003492/0.6124, allocations: 357.1 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.6125, allocations: 16.03 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.6125, allocations: 0.9375 kB / 1.018 GB, free: 1.391 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.938e-05/0.6126, allocations: 166.3 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.6126, allocations: 4.359 kB / 1.018 GB, free: 1.188 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.6126, allocations: 4.375 kB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.6128, allocations: 58.25 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.6128, allocations: 192 / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.6128, allocations: 3.938 kB / 1.019 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.726e-05/0.6129, allocations: 4 kB / 1.019 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.6129, allocations: 35.86 kB / 1.019 GB, free: 1.078 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.6133, allocations: 268.8 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.113e-05/0.6133, allocations: 14.58 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.84e-05/0.6134, allocations: 8.922 kB / 1.019 GB, free: 0.7305 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.228e-06/0.6134, allocations: 3.938 kB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.6134, allocations: 34.55 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.6134, allocations: 4 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of matching and sorting (n=1): time 0.0001749/0.6136, allocations: 71.34 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.6136, allocations: 77.11 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.524e-05/0.6137, allocations: 113.8 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.6138, allocations: 29.69 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.6138, allocations: 103.8 kB / 1.019 GB, free: 248 kB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 8.216e-06/0.6138, allocations: 3.938 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.6139, allocations: 25.7 kB / 1.019 GB, free: 212 kB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.614, allocations: 326.9 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.607e-05/0.6141, allocations: 8.062 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.6141, allocations: 58.86 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.6143, allocations: 134.1 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6143, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001681/0.6144, allocations: 123.1 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.6145, allocations: 37.69 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6145, allocations: 0 / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.6145, allocations: 4 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.6146, allocations: 8 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.6146, allocations: 7.938 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.386e-05/0.6147, allocations: 8 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.6147, allocations: 4.25 kB / 1.02 GB, free: 15.41 MB / 0.7794 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.0001045/0.6148, allocations: 151.5 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.619e-05/0.6149, allocations: 0 / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.871e-05/0.6149, allocations: 11.53 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.6149, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6149, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6149, allocations: 0 / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.6151, allocations: 157.5 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.6151, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.92e-07/0.6151, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.6151, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.6151, allocations: 7.984 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.6151, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.6151, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001221/0.6152, allocations: 173.1 kB / 1.02 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.561e-05/0.6153, allocations: 81.09 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.6153, allocations: 3.938 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.086e-05/0.6154, allocations: 8.031 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.381e-05/0.6154, allocations: 8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.6154, allocations: 0 / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.564e-05/0.6155, allocations: 91.72 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6155, allocations: 0 / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000261/0.6157, allocations: 19.94 kB / 1.021 GB, free: 14.61 MB / 0.7794 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.0001809/0.6159, allocations: 103.2 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001597/0.6161, allocations: 87.58 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.6161, allocations: 0 / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.26e-05/0.6162, allocations: 63.33 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.6164, allocations: 5.875 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000255/0.6166, allocations: 105 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002665/0.6169, allocations: 0.6806 MB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001051/0.617, allocations: 16.3 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.6171, allocations: 11.44 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of SimCode: time 8.11e-07/0.6171, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of Templates: time 0.002755/0.6198, allocations: 0.5019 MB / 1.022 GB, free: 12.95 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches