Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 106.1 kB / 16.36 MB, free: 6.285 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.00113/0.00113, allocations: 193.5 kB / 17.29 MB, free: 5.863 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.209/1.209, allocations: 222.9 MB / 241 MB, free: 15.16 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.197/2.197, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 61.19 kB / 0.8707 GB, free: 1.441 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2534, allocations: 151.6 MB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001504/0.2549, allocations: 0.5861 MB / 1.019 GB, free: 9.258 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0003085/0.2553, allocations: 103.6 kB / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.007e-05/0.2553, allocations: 0 / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.442e-05/0.2553, allocations: 0 / 1.019 GB, free: 9.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.157e-06/0.2553, allocations: 7.938 kB / 1.019 GB, free: 9.148 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.2556, allocations: 31.91 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.274e-05/0.2556, allocations: 4 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.2557, allocations: 0 / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.28e-05/0.2557, allocations: 4 kB / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.375e-05/0.2557, allocations: 0 / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.143e-06/0.2557, allocations: 0 / 1.019 GB, free: 9.109 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001302/0.2559, allocations: 39.89 kB / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.452e-06/0.2559, allocations: 0 / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.43e-05/0.2559, allocations: 4 kB / 1.02 GB, free: 9.066 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.566e-05/0.256, allocations: 27.89 kB / 1.02 GB, free: 9.039 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.256, allocations: 8 kB / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.373e-06/0.256, allocations: 0 / 1.02 GB, free: 9.031 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.256, allocations: 0 / 1.02 GB, free: 9.031 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000234/0.2562, allocations: 319.5 kB / 1.02 GB, free: 8.668 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 2.879e-05/0.2563, allocations: 12.92 kB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.2563, allocations: 4.938 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.071e-05/0.2564, allocations: 164.3 kB / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.2564, allocations: 384 / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-06/0.2564, allocations: 384 / 1.02 GB, free: 8.453 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.056e-05/0.2565, allocations: 34.27 kB / 1.02 GB, free: 8.414 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.2565, allocations: 4.125 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.2565, allocations: 7.922 kB / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2565, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.443e-05/0.2565, allocations: 0 / 1.02 GB, free: 8.402 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001102/0.2567, allocations: 149.7 kB / 1.02 GB, free: 8.207 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3e-05/0.2567, allocations: 14.58 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.417e-05/0.2567, allocations: 8.859 kB / 1.02 GB, free: 8.172 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.2569, allocations: 93.17 kB / 1.02 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.2569, allocations: 34.56 kB / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 1.993e-06/0.2569, allocations: 0 / 1.02 GB, free: 8.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001087/0.257, allocations: 41.56 kB / 1.02 GB, free: 7.973 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.2571, allocations: 51.41 kB / 1.02 GB, free: 7.91 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.091e-05/0.2571, allocations: 89.86 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/0.2571, allocations: 25.7 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 1.834e-05/0.2572, allocations: 84.27 kB / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.2572, allocations: 0 / 1.021 GB, free: 7.695 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.812e-05/0.2572, allocations: 17.72 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.2573, allocations: 310.8 kB / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-06/0.2573, allocations: 0 / 1.021 GB, free: 7.359 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.901e-06/0.2573, allocations: 4 kB / 1.021 GB, free: 7.355 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.178e-05/0.2573, allocations: 8.797 kB / 1.021 GB, free: 7.344 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2574, allocations: 8 kB / 1.021 GB, free: 7.336 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.975e-05/0.2574, allocations: 37.69 kB / 1.021 GB, free: 7.293 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.2574, allocations: 4 kB / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2574, allocations: 0 / 1.021 GB, free: 7.289 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2575, allocations: 3.938 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.033e-05/0.2575, allocations: 4 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.2575, allocations: 0 / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.955e-06/0.2575, allocations: 0 / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.817e-06/0.2575, allocations: 0 / 1.021 GB, free: 7.281 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 (1): * Single equations (assignments): 1 * 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.257e-05/0.2576, allocations: 113.9 kB / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.63e-05/0.2576, allocations: 0 / 1.021 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.228e-05/0.2577, allocations: 44.69 kB / 1.021 GB, free: 7.109 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.2577, allocations: 4 kB / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.2577, allocations: 0 / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.2577, allocations: 0 / 1.021 GB, free: 7.105 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.99e-05/0.2578, allocations: 149.7 kB / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.2578, allocations: 0 / 1.021 GB, free: 6.91 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.141e-05/0.2578, allocations: 7.938 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.2578, allocations: 0 / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.2578, allocations: 7.969 kB / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2578, allocations: 0 / 1.021 GB, free: 6.895 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.2578, allocations: 4 kB / 1.021 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.594e-05/0.2579, allocations: 61.06 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 2.357e-05/0.2579, allocations: 77.11 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.2579, allocations: 3.938 kB / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.082e-06/0.2579, allocations: 0 / 1.021 GB, free: 6.715 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.008e-05/0.2579, allocations: 8.031 kB / 1.021 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-06/0.2579, allocations: 0 / 1.021 GB, free: 6.707 MB / 0.795 GB Notification: Performance of sorting global known variables: time 1.871e-05/0.258, allocations: 75.28 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of sort global known variables: time 1e-07/0.258, allocations: 0 / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001778/0.2582, allocations: 12 kB / 1.022 GB, free: 6.621 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 (1): * Single equations (assignments): 1 * 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.0001438/0.2583, allocations: 111.2 kB / 1.022 GB, free: 6.504 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 5.339e-05/0.2584, allocations: 8 kB / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.2584, allocations: 0 / 1.022 GB, free: 6.496 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.56e-06/0.2584, allocations: 3.938 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.2585, allocations: 4 kB / 1.022 GB, free: 6.488 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001428/0.2587, allocations: 88.91 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.2588, allocations: 0.669 MB / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 7.915e-06/0.2588, allocations: 0 / 1.022 GB, free: 5.68 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.2589, allocations: 11.44 kB / 1.022 GB, free: 5.668 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2589, allocations: 4.125 kB / 1.022 GB, free: 5.664 MB / 0.795 GB Notification: Performance of Templates: time 0.002034/0.2609, allocations: 403.4 kB / 1.023 GB, free: 5.273 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches