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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001252/0.001252, allocations: 114.6 kB / 16.42 MB, free: 6.492 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.00121/0.00121, allocations: 190.5 kB / 17.35 MB, free: 5.762 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.837/2.837, allocations: 469.4 MB / 0.7428 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001659/0.001659, allocations: 71.84 kB / 1.066 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9582/0.9598, allocations: 159.1 MB / 1.221 GB, free: 2.336 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00197/0.9619, allocations: 0.5888 MB / 1.222 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0003075/0.9622, allocations: 39.88 kB / 1.222 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.075e-05/0.9623, allocations: 0 / 1.222 GB, free: 1.711 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.055e-05/0.9623, allocations: 3.938 kB / 1.222 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.824e-05/0.9624, allocations: 7.938 kB / 1.222 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.9626, allocations: 11.98 kB / 1.222 GB, free: 1.688 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.423e-05/0.9627, allocations: 8 kB / 1.222 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.582e-05/0.9628, allocations: 3.984 kB / 1.222 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.9628, allocations: 4 kB / 1.222 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.882e-05/0.9629, allocations: 0 / 1.222 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.9629, allocations: 0 / 1.222 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.963, allocations: 19.98 kB / 1.222 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.851e-05/0.963, allocations: 4 kB / 1.222 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.9631, allocations: 3.938 kB / 1.222 GB, free: 1.645 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.9632, allocations: 27.91 kB / 1.222 GB, free: 1.617 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.9632, allocations: 7.984 kB / 1.222 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.442e-06/0.9632, allocations: 0 / 1.222 GB, free: 1.609 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.002e-05/0.9632, allocations: 0 / 1.222 GB, free: 1.609 MB / 0.9356 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.00037/0.9636, allocations: 341.3 kB / 1.222 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.9637, allocations: 16.55 kB / 1.222 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.606e-05/0.9637, allocations: 8.828 kB / 1.222 GB, free: 1.195 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001033/0.9638, allocations: 172.2 kB / 1.222 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.346e-05/0.9639, allocations: 384 / 1.222 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.9639, allocations: 384 / 1.222 GB, free: 0.9922 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.964, allocations: 58.25 kB / 1.222 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.964, allocations: 192 / 1.222 GB, free: 0.9297 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.9641, allocations: 3.938 kB / 1.222 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.9641, allocations: 12 kB / 1.222 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.772e-05/0.9642, allocations: 27.92 kB / 1.222 GB, free: 0.8867 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.9645, allocations: 264.8 kB / 1.223 GB, free: 0.5781 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 4.775e-05/0.9646, allocations: 22.58 kB / 1.223 GB, free: 0.5469 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.758e-05/0.9646, allocations: 12.84 kB / 1.223 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.555e-06/0.9646, allocations: 0 / 1.223 GB, free: 0.5312 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.9647, allocations: 34.62 kB / 1.223 GB, free: 500 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.9647, allocations: 3.938 kB / 1.223 GB, free: 496 kB / 0.9356 GB Notification: Performance of matching and sorting (n=1): time 0.0001896/0.9649, allocations: 63.34 kB / 1.223 GB, free: 420 kB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.9649, allocations: 81.11 kB / 1.223 GB, free: 320 kB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.965, allocations: 121.8 kB / 1.223 GB, free: 188 kB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.9651, allocations: 29.83 kB / 1.223 GB, free: 152 kB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.9651, allocations: 97.69 kB / 1.223 GB, free: 52 kB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.9651, allocations: 11.84 kB / 1.223 GB, free: 40 kB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.654e-05/0.9652, allocations: 25.7 kB / 1.223 GB, free: 8 kB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9653, allocations: 314.8 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.9654, allocations: 15.98 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.865e-05/0.9654, allocations: 54.88 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.9655, allocations: 134.1 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9655, allocations: 3.984 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001566/0.9657, allocations: 115.2 kB / 1.224 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/0.9657, allocations: 35.58 kB / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.9658, allocations: 256 / 1.224 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.9658, allocations: 8 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-05/0.9659, allocations: 12 kB / 1.224 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.368e-05/0.9659, allocations: 3.938 kB / 1.224 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.972e-05/0.966, allocations: 11.89 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.966, allocations: 8 kB / 1.224 GB, free: 15.22 MB / 0.9512 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.632e-05/0.9661, allocations: 143.5 kB / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.9661, allocations: 4 kB / 1.224 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.097e-05/0.9661, allocations: 3.531 kB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.9661, allocations: 0 / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9662, allocations: 7.984 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.9662, allocations: 81.02 kB / 1.224 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.9662, allocations: 7.938 kB / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.965e-05/0.9663, allocations: 0 / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.9663, allocations: 0 / 1.224 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001233/0.9664, allocations: 202 kB / 1.224 GB, free: 14.71 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001441/0.9666, allocations: 240.6 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.025e-05/0.9666, allocations: 3.984 kB / 1.224 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.434e-05/0.9667, allocations: 95.67 kB / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of Backend: time 3.21e-07/0.9667, allocations: 0 / 1.224 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004629/0.9671, allocations: 173.7 kB / 1.225 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0005414/0.9677, allocations: 0.6072 MB / 1.225 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.003606/0.9713, allocations: 0.5519 MB / 1.226 GB, free: 12.95 MB / 0.9512 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