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.001169/0.001168, allocations: 106.9 kB / 16.37 MB, free: 6.477 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.00116/0.00116, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.212/1.212, allocations: 222.9 MB / 241 MB, free: 15.19 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.214/2.214, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001149, allocations: 60.38 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.251, allocations: 151.6 MB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002152/0.2532, allocations: 1.441 MB / 1.02 GB, free: 8.406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003453/0.2536, allocations: 152.4 kB / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.103e-05/0.2536, allocations: 0 / 1.02 GB, free: 8.254 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.546e-05/0.2536, allocations: 3.938 kB / 1.02 GB, free: 8.25 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.419e-05/0.2537, allocations: 7.984 kB / 1.02 GB, free: 8.242 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.2539, allocations: 43.78 kB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.053e-05/0.254, allocations: 16 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.925e-05/0.2541, allocations: 15.92 kB / 1.02 GB, free: 8.168 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.051e-05/0.2541, allocations: 7.984 kB / 1.02 GB, free: 8.16 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.232e-05/0.2541, allocations: 15.92 kB / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.556e-06/0.2542, allocations: 0 / 1.02 GB, free: 8.145 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001051/0.2543, allocations: 35.97 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.016e-05/0.2543, allocations: 4 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.906e-05/0.2543, allocations: 3.938 kB / 1.02 GB, free: 8.102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.2544, allocations: 51.8 kB / 1.021 GB, free: 8.051 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2544, allocations: 8 kB / 1.021 GB, free: 8.043 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.393e-06/0.2544, allocations: 0 / 1.021 GB, free: 8.043 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2544, allocations: 4 kB / 1.021 GB, free: 8.039 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.0003481/0.2548, allocations: 339.4 kB / 1.021 GB, free: 7.656 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.2548, allocations: 12.92 kB / 1.021 GB, free: 7.645 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.087e-05/0.2549, allocations: 8.844 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.203e-05/0.255, allocations: 160.4 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.255, allocations: 384 / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/0.255, allocations: 8.375 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.2551, allocations: 50.23 kB / 1.021 GB, free: 7.379 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.2552, allocations: 4.125 kB / 1.021 GB, free: 7.375 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.2552, allocations: 3.938 kB / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.2552, allocations: 0 / 1.021 GB, free: 7.371 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.2553, allocations: 39.89 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.2556, allocations: 244.9 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.2557, allocations: 46.52 kB / 1.021 GB, free: 6.988 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.208e-05/0.2558, allocations: 20.91 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001418/0.2559, allocations: 85.09 kB / 1.022 GB, free: 6.863 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.2559, allocations: 30.56 kB / 1.022 GB, free: 6.824 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.2559, allocations: 4 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0002995/0.2562, allocations: 85.58 kB / 1.022 GB, free: 6.73 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.898e-05/0.2563, allocations: 51.41 kB / 1.022 GB, free: 6.668 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.639e-05/0.2563, allocations: 101.8 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2564, allocations: 29.7 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.2564, allocations: 80.14 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.33e-05/0.2564, allocations: 8.031 kB / 1.022 GB, free: 6.434 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.2565, allocations: 13.72 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.962e-05/0.2565, allocations: 314.8 kB / 1.022 GB, free: 6.098 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.205e-05/0.2566, allocations: 15.97 kB / 1.022 GB, free: 6.082 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.996e-05/0.2567, allocations: 23.92 kB / 1.022 GB, free: 6.059 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.2568, allocations: 40.83 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2568, allocations: 0 / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001719/0.257, allocations: 73.5 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.257, allocations: 6.969 kB / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.257, allocations: 0 / 1.022 GB, free: 5.934 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.767e-06/0.257, allocations: 4 kB / 1.022 GB, free: 5.93 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.497e-05/0.2571, allocations: 7.984 kB / 1.022 GB, free: 5.922 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2571, allocations: 4 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.886e-05/0.2572, allocations: 8.031 kB / 1.022 GB, free: 5.91 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.2572, allocations: 3.984 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 5.477e-05/0.2572, allocations: 117.8 kB / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.2573, allocations: 0 / 1.023 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001834/0.2574, allocations: 72.72 kB / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.2575, allocations: 0 / 1.023 GB, free: 5.703 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.2575, allocations: 4.031 kB / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.2575, allocations: 0 / 1.023 GB, free: 5.699 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.2576, allocations: 165.6 kB / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2576, allocations: 0 / 1.023 GB, free: 5.488 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.815e-05/0.2577, allocations: 8 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2577, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2577, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.2577, allocations: 0 / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2577, allocations: 7.922 kB / 1.023 GB, free: 5.473 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.2579, allocations: 167.4 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.829e-05/0.2579, allocations: 85.03 kB / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.808e-06/0.2579, allocations: 0 / 1.023 GB, free: 5.191 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.653e-05/0.258, allocations: 4 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.2581, allocations: 11.98 kB / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.2581, allocations: 0 / 1.023 GB, free: 5.176 MB / 0.795 GB Notification: Performance of sorting global known variables: time 2.819e-05/0.2581, allocations: 83.31 kB / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2581, allocations: 0 / 1.023 GB, free: 5.094 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.00021/0.2583, allocations: 8 kB / 1.023 GB, free: 5.086 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.000143/0.2585, allocations: 111.2 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0001735/0.2586, allocations: 43.91 kB / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2586, allocations: 0 / 1.023 GB, free: 4.926 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 7.208e-05/0.2587, allocations: 27.91 kB / 1.023 GB, free: 4.898 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.2589, allocations: 3.938 kB / 1.023 GB, free: 4.895 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.2591, allocations: 103.1 kB / 1.023 GB, free: 4.77 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.2593, allocations: 0.6729 MB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.2594, allocations: 8.109 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.67e-05/0.2594, allocations: 11.44 kB / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.2594, allocations: 0 / 1.024 GB, free: 4.051 MB / 0.795 GB Notification: Performance of Templates: time 0.002363/0.2618, allocations: 0.6423 MB / 1.025 GB, free: 3.414 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 cvode -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