Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001485/0.001485, allocations: 105 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.001632/0.001632, allocations: 195.5 kB / 17.29 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.452/1.452, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 64.14 kB / 0.814 GB, free: 32.52 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2621, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001888/0.264, allocations: 0.5897 MB / 0.9517 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002578/0.2643, allocations: 43.86 kB / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.184e-05/0.2643, allocations: 0 / 0.9517 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.539e-05/0.2644, allocations: 4 kB / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 2.971e-05/0.2644, allocations: 0 / 0.9517 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.2646, allocations: 7.984 kB / 0.9518 GB, free: 7.434 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.748e-05/0.2647, allocations: 8 kB / 0.9518 GB, free: 7.426 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.233e-05/0.2647, allocations: 4 kB / 0.9518 GB, free: 7.422 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.238e-05/0.2648, allocations: 7.938 kB / 0.9518 GB, free: 7.414 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.487e-05/0.2648, allocations: 3.984 kB / 0.9518 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.2648, allocations: 0 / 0.9518 GB, free: 7.41 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.011e-05/0.2649, allocations: 23.92 kB / 0.9518 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.414e-05/0.265, allocations: 7.984 kB / 0.9518 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.233e-05/0.265, allocations: 7.938 kB / 0.9518 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.698e-05/0.2651, allocations: 23.92 kB / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.2651, allocations: 0 / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2651, allocations: 0 / 0.9518 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.2651, allocations: 0 / 0.9518 GB, free: 7.348 MB / 0.7325 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.0003083/0.2654, allocations: 354 kB / 0.9522 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.2655, allocations: 8.031 kB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.897e-05/0.2655, allocations: 4.938 kB / 0.9522 GB, free: 6.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.2656, allocations: 168.3 kB / 0.9523 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.2656, allocations: 4.375 kB / 0.9523 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.2656, allocations: 4.359 kB / 0.9524 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.2657, allocations: 58.23 kB / 0.9524 GB, free: 6.66 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2658, allocations: 4.125 kB / 0.9524 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.2658, allocations: 7.938 kB / 0.9524 GB, free: 6.648 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.239e-05/0.2658, allocations: 4 kB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.821e-05/0.2659, allocations: 23.98 kB / 0.9524 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003251/0.2662, allocations: 260.8 kB / 0.9527 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.154e-05/0.2662, allocations: 30.52 kB / 0.9527 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.2663, allocations: 4.859 kB / 0.9527 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.322e-06/0.2663, allocations: 4.062 kB / 0.9527 GB, free: 6.266 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.2663, allocations: 34.5 kB / 0.9528 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.2663, allocations: 0 / 0.9528 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1): time 0.0001527/0.2665, allocations: 63.39 kB / 0.9528 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.2665, allocations: 85.11 kB / 0.9529 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.2666, allocations: 114 kB / 0.953 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.2666, allocations: 25.7 kB / 0.953 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.685e-05/0.2667, allocations: 111.7 kB / 0.9531 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.811e-06/0.2667, allocations: 0 / 0.9531 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.2667, allocations: 21.72 kB / 0.9532 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.276e-05/0.2668, allocations: 322.7 kB / 0.9535 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.394e-05/0.2669, allocations: 12 kB / 0.9535 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.243e-05/0.2669, allocations: 70.86 kB / 0.9536 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.267, allocations: 126.2 kB / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.267, allocations: 0 / 0.9537 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001387/0.2672, allocations: 123.1 kB / 0.9538 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.2672, allocations: 33.95 kB / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2672, allocations: 8 kB / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.2673, allocations: 0 / 0.9538 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.421e-05/0.2673, allocations: 19.92 kB / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.2673, allocations: 480 / 0.9539 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.304e-05/0.2674, allocations: 4 kB / 0.9539 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.723e-05/0.2674, allocations: 8 kB / 0.9539 GB, free: 4.953 MB / 0.7325 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.992e-05/0.2675, allocations: 151.4 kB / 0.954 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.2675, allocations: 7.906 kB / 0.954 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.2676, allocations: 7.531 kB / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2676, allocations: 0 / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2676, allocations: 0 / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.033e-06/0.2676, allocations: 0 / 0.954 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.2677, allocations: 161.6 kB / 0.9542 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2677, allocations: 4 kB / 0.9542 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.653e-06/0.2677, allocations: 3.938 kB / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2677, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2677, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.2677, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2678, allocations: 0 / 0.9542 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001067/0.2679, allocations: 169.2 kB / 0.9543 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.2679, allocations: 81.11 kB / 0.9544 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.145e-05/0.2679, allocations: 0 / 0.9544 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.595e-05/0.268, allocations: 3.984 kB / 0.9544 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.268, allocations: 3.938 kB / 0.9544 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.268, allocations: 4 kB / 0.9544 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.531e-05/0.2681, allocations: 91.27 kB / 0.9545 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.2681, allocations: 4.031 kB / 0.9545 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002373/0.2683, allocations: 15.92 kB / 0.9545 GB, free: 4.148 MB / 0.7325 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.0001403/0.2685, allocations: 107.2 kB / 0.9546 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001194/0.2686, allocations: 87.27 kB / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.2686, allocations: 0 / 0.9547 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.2686, allocations: 59.91 kB / 0.9548 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.2688, allocations: 8.062 kB / 0.9548 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001949/0.269, allocations: 113 kB / 0.9549 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002095/0.2692, allocations: 0.6766 MB / 0.9556 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 4.295e-05/0.2693, allocations: 15.97 kB / 0.9556 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.046e-05/0.2693, allocations: 7.438 kB / 0.9556 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of SimCode: time 2.4e-07/0.2693, allocations: 0 / 0.9556 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of Templates: time 0.002416/0.2717, allocations: 0.5093 MB / 0.9561 GB, free: 2.496 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches