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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001122/0.001122, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001556/0.001556, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.874/2.874, allocations: 437.8 MB / 0.7118 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0007366/0.0007368, allocations: 12 kB / 0.8722 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7573/0.758, allocations: 153.8 MB / 1.022 GB, free: 152 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0008115/0.7589, allocations: 325.4 kB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0002434/0.7592, allocations: 31.97 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.7592, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.905e-05/0.7593, allocations: 3.844 kB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.118e-05/0.7593, allocations: 4 kB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002121/0.7595, allocations: 11.98 kB / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 5.616e-05/0.7596, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.116e-05/0.7597, allocations: 0 / 1.023 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.546e-05/0.7597, allocations: 8 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.522e-05/0.7597, allocations: 0 / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.7598, allocations: 4 kB / 1.023 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.7599, allocations: 15.98 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.7599, allocations: 7.922 kB / 1.023 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.7599, allocations: 25.7 kB / 1.023 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 8.549e-05/0.76, allocations: 19.97 kB / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.76, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.821e-06/0.7601, allocations: 0 / 1.023 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.7601, allocations: 3.938 kB / 1.023 GB, free: 15.69 MB / 0.7794 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.0003333/0.7604, allocations: 357 kB / 1.023 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.7605, allocations: 8.031 kB / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.7605, allocations: 0 / 1.023 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.499e-05/0.7606, allocations: 165 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.7606, allocations: 4 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.291e-05/0.7607, allocations: 0 / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.7608, allocations: 61.58 kB / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.7608, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.7608, allocations: 0 / 1.023 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.7609, allocations: 15.98 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.183e-05/0.7609, allocations: 23.98 kB / 1.023 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003802/0.7613, allocations: 264.8 kB / 1.024 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.287e-05/0.7614, allocations: 26.52 kB / 1.024 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.975e-05/0.7614, allocations: 12.78 kB / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.532e-06/0.7614, allocations: 0 / 1.024 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.7615, allocations: 42.61 kB / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.7615, allocations: 0 / 1.024 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001887/0.7617, allocations: 59.41 kB / 1.024 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.7617, allocations: 77.11 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.801e-05/0.7618, allocations: 129.8 kB / 1.024 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.7619, allocations: 25.7 kB / 1.024 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.379e-05/0.7619, allocations: 99.77 kB / 1.024 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.999e-06/0.7619, allocations: 7.938 kB / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.7619, allocations: 128 / 1.024 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7621, allocations: 326.7 kB / 1.024 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.7621, allocations: 12 kB / 1.024 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.7621, allocations: 54.86 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.062e-05/0.7622, allocations: 53.69 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7622, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001509/0.7624, allocations: 115.2 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/0.7624, allocations: 29.95 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.7624, allocations: 8 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7624, allocations: 0 / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.7625, allocations: 15.98 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.7625, allocations: 11.88 kB / 1.025 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.732e-05/0.7626, allocations: 11.91 kB / 1.025 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.7627, allocations: 4 kB / 1.025 GB, free: 13.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.892e-05/0.7628, allocations: 151.5 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.7628, allocations: 0 / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.568e-05/0.7628, allocations: 7.531 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.7628, allocations: 4 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.7628, allocations: 4 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.7628, allocations: 0 / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.763, allocations: 153.6 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.763, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-07/0.763, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.763, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.763, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.763, allocations: 0 / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.763, allocations: 4 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001293/0.7632, allocations: 177 kB / 1.025 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.7632, allocations: 77.11 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.7632, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.626e-05/0.7633, allocations: 0 / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.07e-05/0.7633, allocations: 11.92 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.7633, allocations: 4 kB / 1.025 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.7634, allocations: 83.28 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7634, allocations: 4.031 kB / 1.025 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002443/0.7636, allocations: 8 kB / 1.025 GB, free: 12.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001742/0.7638, allocations: 111.2 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001415/0.764, allocations: 87.27 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.764, allocations: 0 / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.114e-05/0.764, allocations: 55.91 kB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.7642, allocations: 9.891 kB / 1.026 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002502/0.7645, allocations: 117.4 kB / 1.026 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.7648, allocations: 0.677 MB / 1.026 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.421e-05/0.7649, allocations: 16.16 kB / 1.026 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.7649, allocations: 7.438 kB / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.7649, allocations: 0 / 1.026 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of Templates: time 0.002888/0.7678, allocations: 499.5 kB / 1.027 GB, free: 11.01 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