Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_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.001471/0.001471, allocations: 114.9 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.001611/0.001611, allocations: 194.7 kB / 17.3 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.327/1.327, 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 11.0.0-master/package.mo): time 2.534/2.534, allocations: 442.6 MB / 0.7165 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 60.62 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3077, allocations: 153 MB / 1.027 GB, free: 2.094 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00267/0.3104, allocations: 1.447 MB / 1.028 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0004028/0.3108, allocations: 156.4 kB / 1.028 GB, free: 496 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.402e-05/0.3109, allocations: 3.938 kB / 1.028 GB, free: 492 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.505e-05/0.3109, allocations: 3.938 kB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.3109, allocations: 0 / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.3112, allocations: 43.84 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.995e-05/0.3113, allocations: 23.97 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 8.746e-05/0.3114, allocations: 4 kB / 1.028 GB, free: 416 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.697e-05/0.3114, allocations: 11.98 kB / 1.028 GB, free: 404 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.3115, allocations: 7.938 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.3115, allocations: 4 kB / 1.028 GB, free: 392 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001172/0.3116, allocations: 35.91 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.431e-05/0.3117, allocations: 11.97 kB / 1.028 GB, free: 344 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.273e-05/0.3117, allocations: 11.94 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.3118, allocations: 39.89 kB / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.3118, allocations: 0 / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3118, allocations: 0 / 1.028 GB, free: 292 kB / 0.795 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.3118, allocations: 0 / 1.028 GB, free: 292 kB / 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.0004426/0.3123, allocations: 351.5 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.3123, allocations: 15.91 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.3124, allocations: 4.844 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.3125, allocations: 164.4 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-06/0.3125, allocations: 384 / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-06/0.3125, allocations: 384 / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3127, allocations: 50.23 kB / 1.029 GB, free: 15.62 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3127, allocations: 4.172 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.3127, allocations: 3.938 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3127, allocations: 4 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.3129, allocations: 35.95 kB / 1.029 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002986/0.3132, allocations: 252.9 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.3133, allocations: 38.5 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.812e-05/0.3134, allocations: 32.89 kB / 1.029 GB, free: 15.19 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.3136, allocations: 85.09 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.3136, allocations: 30.56 kB / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3136, allocations: 0 / 1.03 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003413/0.314, allocations: 85.7 kB / 1.03 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.314, allocations: 55.41 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.3141, allocations: 97.86 kB / 1.03 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.3141, allocations: 25.7 kB / 1.03 GB, free: 14.76 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.3141, allocations: 80.14 kB / 1.03 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.3142, allocations: 7.906 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/0.3142, allocations: 21.64 kB / 1.03 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3143, allocations: 314.8 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.658e-05/0.3144, allocations: 15.98 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.534e-05/0.3145, allocations: 15.98 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3146, allocations: 40.81 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3146, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.3148, allocations: 81.5 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.3149, allocations: 4 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.3149, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3149, allocations: 0 / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.197e-05/0.3149, allocations: 8 kB / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.315, allocations: 0 / 1.03 GB, free: 14.15 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.315, allocations: 7.984 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-06/0.315, allocations: 0 / 1.03 GB, free: 14.14 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 (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.571e-05/0.3151, allocations: 117.8 kB / 1.03 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.559e-05/0.3151, allocations: 8 kB / 1.03 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.3154, allocations: 76.7 kB / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3154, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3154, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.3154, allocations: 0 / 1.031 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3155, allocations: 165.5 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3155, allocations: 0 / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.344e-05/0.3156, allocations: 8.016 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3156, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3156, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3156, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3156, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.3159, allocations: 155.5 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.3159, allocations: 88.98 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.3159, allocations: 8 kB / 1.031 GB, free: 13.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.173e-05/0.316, allocations: 7.984 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.099e-05/0.316, allocations: 3.938 kB / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.316, allocations: 0 / 1.031 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.226e-05/0.3161, allocations: 83.27 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3161, allocations: 0 / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002299/0.3163, allocations: 12 kB / 1.031 GB, free: 13.31 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 (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.0001658/0.3165, allocations: 119.5 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002/0.3167, allocations: 35.95 kB / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3167, allocations: 0 / 1.031 GB, free: 13.15 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.533e-05/0.3168, allocations: 15.98 kB / 1.031 GB, free: 13.14 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.3171, allocations: 16.06 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002361/0.3173, allocations: 101.6 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000246/0.3176, allocations: 0.6768 MB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.943e-05/0.3176, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.844e-05/0.3176, allocations: 11.44 kB / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of SimCode: time 2.3e-07/0.3176, allocations: 0 / 1.032 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of Templates: time 0.002761/0.3204, allocations: 0.6407 MB / 1.033 GB, free: 11.64 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches