Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001076, allocations: 112.6 kB / 16.37 MB, free: 6 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.0009971/0.0009971, allocations: 196 kB / 17.31 MB, free: 5.613 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.447/2.447, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 64.7 kB / 0.8707 GB, free: 1.457 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2688/0.2702, allocations: 151.7 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002745/0.273, allocations: 1.425 MB / 1.02 GB, free: 8.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004663/0.2735, allocations: 156.3 kB / 1.02 GB, free: 8.262 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.409e-05/0.2735, allocations: 4 kB / 1.02 GB, free: 8.258 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.745e-05/0.2736, allocations: 3.984 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.467e-05/0.2737, allocations: 7.938 kB / 1.02 GB, free: 8.246 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003576/0.274, allocations: 35.84 kB / 1.02 GB, free: 8.211 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 7.963e-05/0.2741, allocations: 23.94 kB / 1.02 GB, free: 8.188 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.2742, allocations: 7.984 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 4.734e-05/0.2743, allocations: 8 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.526e-05/0.2743, allocations: 19.91 kB / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.2744, allocations: 0 / 1.02 GB, free: 8.152 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.2745, allocations: 43.91 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.2745, allocations: 3.938 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.398e-05/0.2746, allocations: 7.938 kB / 1.02 GB, free: 8.098 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.2747, allocations: 47.86 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.2747, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2747, allocations: 0 / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.2747, allocations: 4 kB / 1.021 GB, free: 8.047 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004096/0.2752, allocations: 343.4 kB / 1.021 GB, free: 7.66 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.2752, allocations: 12.62 kB / 1.021 GB, free: 7.648 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.2753, allocations: 8.844 kB / 1.021 GB, free: 7.641 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.2754, allocations: 164.4 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.2754, allocations: 8.297 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.2754, allocations: 4.375 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.2756, allocations: 46.25 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.2756, allocations: 192 / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.528e-06/0.2756, allocations: 3.938 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2756, allocations: 3.984 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001564/0.2758, allocations: 35.97 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.2761, allocations: 241 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001256/0.2762, allocations: 46.42 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.418e-05/0.2763, allocations: 20.91 kB / 1.021 GB, free: 6.973 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.2765, allocations: 89.09 kB / 1.022 GB, free: 6.867 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.2765, allocations: 34.56 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.2765, allocations: 0 / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0003581/0.2769, allocations: 81.64 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.2769, allocations: 55.34 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.277, allocations: 110 kB / 1.022 GB, free: 6.555 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.277, allocations: 25.7 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.2771, allocations: 80.14 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.63e-05/0.2771, allocations: 3.906 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.2771, allocations: 17.72 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.2773, allocations: 310.8 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.2773, allocations: 19.97 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/0.2774, allocations: 23.92 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2776, allocations: 32.83 kB / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2776, allocations: 0 / 1.022 GB, free: 6.023 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002013/0.2778, allocations: 77.44 kB / 1.022 GB, free: 5.941 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.2778, allocations: 4 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.2778, allocations: 4.094 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.2778, allocations: 4 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.883e-05/0.2779, allocations: 7.984 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.2779, allocations: 0 / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.278, allocations: 11.98 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.641e-06/0.278, allocations: 3.938 kB / 1.022 GB, free: 5.906 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.376e-05/0.2781, allocations: 113.8 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.89e-05/0.2781, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002218/0.2783, allocations: 76.78 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2784, allocations: 0 / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.2784, allocations: 0 / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.614e-06/0.2784, allocations: 0 / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.2785, allocations: 161.6 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.2785, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.826e-05/0.2786, allocations: 11.94 kB / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2786, allocations: 0 / 1.023 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.2786, allocations: 3.984 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2787, allocations: 4.031 kB / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.2787, allocations: 0 / 1.023 GB, free: 5.477 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.2789, allocations: 163.5 kB / 1.023 GB, free: 5.301 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.279, allocations: 81.05 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.279, allocations: 192 / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.2791, allocations: 8.031 kB / 1.023 GB, free: 5.195 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.798e-05/0.2791, allocations: 11.97 kB / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.2791, allocations: 0 / 1.023 GB, free: 5.184 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.305e-05/0.2791, allocations: 79.28 kB / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2791, allocations: 0 / 1.023 GB, free: 5.105 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002467/0.2794, allocations: 12 kB / 1.023 GB, free: 5.094 MB / 0.795 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0001915/0.2796, allocations: 123.2 kB / 1.023 GB, free: 4.965 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001979/0.2798, allocations: 43.89 kB / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2798, allocations: 0 / 1.023 GB, free: 4.922 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.755e-05/0.2799, allocations: 15.98 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.2801, allocations: 7.938 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002848/0.2804, allocations: 103.2 kB / 1.023 GB, free: 4.773 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.2807, allocations: 0.6846 MB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.2807, allocations: 0 / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.982e-05/0.2807, allocations: 7.438 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of SimCode: time 2.184e-06/0.2807, allocations: 0 / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of Templates: time 0.002861/0.2836, allocations: 0.6494 MB / 1.025 GB, free: 3.41 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches