Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1",fileNamePrefix="Buildings_latest_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_latest_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.001128/0.001131, allocations: 102.9 kB / 16.35 MB, free: 5.828 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.001114/0.001114, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.198/1.198, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.217/2.217, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 71.78 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2584/0.2596, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001469/0.2611, allocations: 0.5783 MB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002985/0.2614, allocations: 111.5 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.034e-05/0.2614, allocations: 0 / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.233e-05/0.2614, allocations: 4 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.888e-06/0.2614, allocations: 0 / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2617, allocations: 35.91 kB / 1.027 GB, free: 1.309 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.496e-05/0.2618, allocations: 4 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.748e-05/0.2618, allocations: 3.984 kB / 1.027 GB, free: 1.301 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.009e-05/0.2618, allocations: 3.938 kB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.374e-05/0.2618, allocations: 0 / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.2618, allocations: 0 / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.262, allocations: 39.91 kB / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 7.043e-06/0.262, allocations: 0 / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.323e-05/0.262, allocations: 0 / 1.027 GB, free: 1.258 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.006e-05/0.2621, allocations: 35.89 kB / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2621, allocations: 0 / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2621, allocations: 0 / 1.028 GB, free: 1.223 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.637e-06/0.2621, allocations: 0 / 1.028 GB, free: 1.223 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.0002901/0.2624, allocations: 316.8 kB / 1.028 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.2625, allocations: 12.75 kB / 1.028 GB, free: 0.8516 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.868e-05/0.2625, allocations: 4.875 kB / 1.028 GB, free: 0.8477 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.2626, allocations: 162.8 kB / 1.028 GB, free: 0.6523 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.2626, allocations: 4.375 kB / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.2626, allocations: 384 / 1.028 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.965e-05/0.2627, allocations: 30.27 kB / 1.028 GB, free: 0.6133 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-06/0.2627, allocations: 4.188 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.2627, allocations: 7.922 kB / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.2628, allocations: 0 / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.456e-05/0.2628, allocations: 0 / 1.028 GB, free: 0.6016 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001079/0.2629, allocations: 141.7 kB / 1.028 GB, free: 424 kB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 3.472e-05/0.2629, allocations: 26.55 kB / 1.028 GB, free: 388 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.321e-05/0.2629, allocations: 12.84 kB / 1.028 GB, free: 372 kB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001739/0.2631, allocations: 85.16 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.918e-05/0.2631, allocations: 30.56 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.2632, allocations: 0 / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of matching and sorting (n=1): time 0.0001072/0.2633, allocations: 41.62 kB / 1.028 GB, free: 180 kB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.2633, allocations: 55.34 kB / 1.028 GB, free: 112 kB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.044e-05/0.2633, allocations: 93.86 kB / 1.029 GB, free: 8 kB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.2634, allocations: 29.83 kB / 1.029 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 1.965e-05/0.2634, allocations: 80.14 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.2634, allocations: 0 / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.37e-05/0.2634, allocations: 13.72 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.2635, allocations: 310.8 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-06/0.2635, allocations: 3.938 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.128e-06/0.2635, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.679e-05/0.2636, allocations: 12.92 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.2636, allocations: 8 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.348e-05/0.2636, allocations: 33.69 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2637, allocations: 8 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2637, allocations: 3.938 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.2637, allocations: 7.875 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.779e-05/0.2637, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.2637, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.075e-06/0.2637, allocations: 0 / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.2637, allocations: 4 kB / 1.029 GB, free: 15.47 MB / 0.8106 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 4.92e-05/0.2638, allocations: 109.9 kB / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.654e-05/0.2638, allocations: 0 / 1.029 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.83e-05/0.2639, allocations: 44.75 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.2639, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.2639, allocations: 0 / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.2639, allocations: 4 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.849e-05/0.264, allocations: 145.7 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.264, allocations: 0 / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.708e-06/0.264, allocations: 0 / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.243e-06/0.264, allocations: 4.031 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.264, allocations: 7.938 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.264, allocations: 3.938 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.264, allocations: 0 / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.2641, allocations: 57.12 kB / 1.029 GB, free: 15.01 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.606e-05/0.2642, allocations: 77.11 kB / 1.029 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.029e-05/0.2642, allocations: 7.938 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-06/0.2642, allocations: 0 / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.259e-05/0.2642, allocations: 4.031 kB / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-06/0.2642, allocations: 0 / 1.029 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 2.441e-05/0.2642, allocations: 75.28 kB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2643, allocations: 0 / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001796/0.2644, allocations: 12 kB / 1.03 GB, free: 14.82 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): 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.0001486/0.2646, allocations: 115.2 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 5.052e-05/0.2646, allocations: 11.94 kB / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2647, allocations: 0 / 1.03 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 6.593e-06/0.2647, allocations: 4 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000112/0.2648, allocations: 4 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001619/0.265, allocations: 84.97 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001857/0.2651, allocations: 0.669 MB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 8.325e-06/0.2652, allocations: 0 / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.2652, allocations: 7.562 kB / 1.03 GB, free: 13.87 MB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.2652, allocations: 4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of Templates: time 0.001865/0.267, allocations: 408.5 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches