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.001494/0.001494, allocations: 109.5 kB / 16.41 MB, free: 5.996 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.001615/0.001615, allocations: 188.9 kB / 17.35 MB, free: 5.582 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.445/1.445, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.532/2.532, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002667/0.002668, allocations: 63.91 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.318/1.321, allocations: 151.6 MB / 1.167 GB, free: 3.781 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002222/1.323, allocations: 0.59 MB / 1.168 GB, free: 3.199 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0003163/1.324, allocations: 39.88 kB / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/1.324, allocations: 0 / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.545e-05/1.324, allocations: 0 / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/1.324, allocations: 0 / 1.168 GB, free: 3.16 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000253/1.324, allocations: 15.92 kB / 1.168 GB, free: 3.145 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/1.324, allocations: 4 kB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.597e-05/1.324, allocations: 3.984 kB / 1.168 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.133e-05/1.324, allocations: 11.94 kB / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.068e-05/1.324, allocations: 0 / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/1.324, allocations: 0 / 1.168 GB, free: 3.125 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 9.856e-05/1.324, allocations: 23.98 kB / 1.168 GB, free: 3.102 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/1.324, allocations: 4 kB / 1.168 GB, free: 3.098 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.221e-05/1.325, allocations: 3.938 kB / 1.168 GB, free: 3.094 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001257/1.325, allocations: 31.89 kB / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/1.325, allocations: 0 / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.124e-06/1.325, allocations: 0 / 1.168 GB, free: 3.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.325, allocations: 0 / 1.168 GB, free: 3.062 MB / 0.8887 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.0004452/1.325, allocations: 361.7 kB / 1.168 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/1.325, allocations: 8.922 kB / 1.168 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/1.325, allocations: 4.875 kB / 1.168 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/1.325, allocations: 168.3 kB / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/1.325, allocations: 384 / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/1.325, allocations: 384 / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/1.326, allocations: 54.25 kB / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/1.326, allocations: 192 / 1.169 GB, free: 2.383 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/1.326, allocations: 7.938 kB / 1.169 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/1.326, allocations: 11.98 kB / 1.169 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.358e-05/1.326, allocations: 23.98 kB / 1.169 GB, free: 2.34 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/1.326, allocations: 268.8 kB / 1.169 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.454e-05/1.326, allocations: 22.52 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/1.326, allocations: 8.844 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 9.909e-06/1.326, allocations: 64 / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/1.326, allocations: 38.56 kB / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/1.326, allocations: 0 / 1.169 GB, free: 1.938 MB / 0.8887 GB Notification: Performance of matching and sorting (n=1): time 0.0002045/1.327, allocations: 63.41 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/1.327, allocations: 85.05 kB / 1.169 GB, free: 1.762 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/1.327, allocations: 117.8 kB / 1.169 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/1.327, allocations: 25.7 kB / 1.169 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 7.454e-05/1.327, allocations: 103.9 kB / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/1.327, allocations: 0 / 1.169 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.438e-05/1.327, allocations: 37.72 kB / 1.169 GB, free: 1.457 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001334/1.327, allocations: 318.8 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.987e-05/1.327, allocations: 11.98 kB / 1.17 GB, free: 1.125 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/1.327, allocations: 63.16 kB / 1.17 GB, free: 1.039 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/1.327, allocations: 130.1 kB / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/1.327, allocations: 0 / 1.17 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001748/1.327, allocations: 119.2 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/1.327, allocations: 33.7 kB / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/1.328, allocations: 0 / 1.17 GB, free: 0.707 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/1.328, allocations: 4 kB / 1.17 GB, free: 0.7031 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.597e-05/1.328, allocations: 12 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/1.328, allocations: 3.984 kB / 1.17 GB, free: 0.6875 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.838e-05/1.328, allocations: 16.14 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.322e-05/1.328, allocations: 12 kB / 1.17 GB, free: 0.6602 MB / 0.8887 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.0001175/1.328, allocations: 143.4 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/1.328, allocations: 4 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.005e-05/1.328, allocations: 11.52 kB / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.328, allocations: 0 / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/1.328, allocations: 0 / 1.17 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/1.328, allocations: 77.11 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/1.328, allocations: 7.938 kB / 1.17 GB, free: 392 kB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.092e-05/1.328, allocations: 3.938 kB / 1.17 GB, free: 388 kB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/1.328, allocations: 4 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001536/1.328, allocations: 194.1 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001913/1.328, allocations: 252.4 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.019e-05/1.329, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.29e-05/1.329, allocations: 91.2 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of Backend: time 3.4e-07/1.329, allocations: 4.062 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000516/1.329, allocations: 169.7 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004939/1.33, allocations: 0.595 MB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of Templates: time 0.003315/1.333, allocations: 0.5436 MB / 1.172 GB, free: 14.42 MB / 0.9044 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/jenkins1/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