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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0012/0.0012, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001164/0.001164, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.207/1.207, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.223/2.223, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001162/0.001163, allocations: 67.95 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2496, allocations: 153 MB / 1.027 GB, free: 2.062 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001489/0.2511, allocations: 0.5963 MB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001857/0.2513, allocations: 35.88 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.563e-05/0.2513, allocations: 0 / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.474e-05/0.2514, allocations: 0 / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 2.672e-05/0.2514, allocations: 4 kB / 1.027 GB, free: 1.426 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001656/0.2516, allocations: 15.92 kB / 1.027 GB, free: 1.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.2516, allocations: 4 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.539e-05/0.2517, allocations: 7.969 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.569e-05/0.2517, allocations: 4 kB / 1.027 GB, free: 1.395 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.561e-05/0.2517, allocations: 11.98 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.158e-06/0.2518, allocations: 0 / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.193e-05/0.2518, allocations: 15.98 kB / 1.027 GB, free: 1.367 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.398e-05/0.2519, allocations: 3.938 kB / 1.027 GB, free: 1.363 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.2519, allocations: 4 kB / 1.027 GB, free: 1.359 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 7.601e-05/0.252, allocations: 23.91 kB / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.252, allocations: 0 / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.342e-06/0.252, allocations: 0 / 1.027 GB, free: 1.336 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.252, allocations: 0 / 1.027 GB, free: 1.336 MB / 0.795 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.0002712/0.2523, allocations: 361.3 kB / 1.028 GB, free: 0.9258 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.789e-05/0.2523, allocations: 12.03 kB / 1.028 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.468e-05/0.2523, allocations: 0.9375 kB / 1.028 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.2524, allocations: 168.3 kB / 1.028 GB, free: 0.7109 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.2524, allocations: 4.375 kB / 1.028 GB, free: 0.707 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.2524, allocations: 4.359 kB / 1.028 GB, free: 0.7031 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.2525, allocations: 54.25 kB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.2525, allocations: 192 / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-06/0.2526, allocations: 7.875 kB / 1.028 GB, free: 0.6367 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.2526, allocations: 7.984 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.914e-05/0.2526, allocations: 31.92 kB / 1.028 GB, free: 0.5977 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000265/0.2529, allocations: 264.8 kB / 1.028 GB, free: 296 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.601e-05/0.2529, allocations: 24.97 kB / 1.028 GB, free: 264 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.384e-05/0.253, allocations: 8.844 kB / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-06/0.253, allocations: 0 / 1.028 GB, free: 252 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.635e-05/0.253, allocations: 30.56 kB / 1.028 GB, free: 212 kB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.253, allocations: 4 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001377/0.2531, allocations: 67.47 kB / 1.028 GB, free: 128 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2532, allocations: 81.05 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.882e-05/0.2533, allocations: 117.7 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.332e-05/0.2533, allocations: 25.7 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.2533, allocations: 103.8 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 5.791e-06/0.2533, allocations: 4 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.2534, allocations: 21.83 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.056e-05/0.2535, allocations: 326.8 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.2535, allocations: 7.984 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.527e-05/0.2536, allocations: 62.92 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.681e-05/0.2536, allocations: 134.1 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2537, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001226/0.2538, allocations: 123.1 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.2538, allocations: 33.7 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2538, allocations: 0 / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.2538, allocations: 4 kB / 1.029 GB, free: 14.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.2539, allocations: 12 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2539, allocations: 4 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.254, allocations: 7.984 kB / 1.029 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.254, allocations: 8.25 kB / 1.029 GB, free: 14.94 MB / 0.8106 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 7.485e-05/0.2541, allocations: 159.3 kB / 1.03 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.2541, allocations: 3.906 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.678e-06/0.2541, allocations: 7.531 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.2541, allocations: 3.984 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.2541, allocations: 4 kB / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.2541, allocations: 0 / 1.03 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.2543, allocations: 157.6 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.2543, allocations: 3.938 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.2543, allocations: 4 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2543, allocations: 0 / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.2543, allocations: 4 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.2543, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.2543, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.2544, allocations: 165.2 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.807e-05/0.2544, allocations: 81.05 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.01e-05/0.2545, allocations: 3.938 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.154e-05/0.2545, allocations: 8.031 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.132e-05/0.2545, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.2546, allocations: 4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.2546, allocations: 87.27 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2546, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002229/0.2548, allocations: 15.94 kB / 1.03 GB, free: 14.13 MB / 0.8106 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.0001204/0.255, allocations: 103.2 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.2551, allocations: 91.31 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.2551, allocations: 0 / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.578e-05/0.2551, allocations: 55.41 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.2553, allocations: 4 kB / 1.03 GB, free: 13.85 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001646/0.2555, allocations: 108.8 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001876/0.2557, allocations: 0.6768 MB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.2557, allocations: 16.55 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.067e-05/0.2557, allocations: 11.44 kB / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of SimCode: time 2.2e-07/0.2557, allocations: 0 / 1.031 GB, free: 12.98 MB / 0.8106 GB Notification: Performance of Templates: time 0.002182/0.2579, allocations: 0.5111 MB / 1.032 GB, free: 12.48 MB / 0.8106 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 -s cvode -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