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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001206/0.001206, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 196.5 kB / 16.53 MB, free: 6.656 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.822/2.822, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 64.33 kB / 0.9121 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.323, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.002109/0.3252, allocations: 0.57 MB / 1.069 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004253/0.3256, allocations: 107.6 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.486e-05/0.3257, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.511e-05/0.3257, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.881e-06/0.3257, allocations: 4 kB / 1.069 GB, free: 9.672 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.3261, allocations: 27.92 kB / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 3.986e-05/0.3262, allocations: 0 / 1.069 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.82e-05/0.3262, allocations: 3.984 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.3263, allocations: 7.984 kB / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 1.93e-05/0.3263, allocations: 0 / 1.069 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.3263, allocations: 3.938 kB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001695/0.3265, allocations: 39.91 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.679e-06/0.3265, allocations: 0 / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.105e-05/0.3265, allocations: 3.938 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.3266, allocations: 31.95 kB / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3267, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3267, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3267, allocations: 0 / 1.069 GB, free: 9.555 MB / 0.8262 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.0003001/0.327, allocations: 315.6 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.327, allocations: 16.02 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.091e-05/0.3271, allocations: 0.9375 kB / 1.069 GB, free: 9.18 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.069e-05/0.3272, allocations: 168.3 kB / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3272, allocations: 384 / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.296e-06/0.3272, allocations: 384 / 1.069 GB, free: 8.977 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.935e-05/0.3273, allocations: 30.27 kB / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.3273, allocations: 192 / 1.07 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.3274, allocations: 7.922 kB / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3274, allocations: 0 / 1.07 GB, free: 8.934 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.3274, allocations: 4 kB / 1.07 GB, free: 8.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000145/0.3276, allocations: 153.7 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 3.823e-05/0.3276, allocations: 22.52 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.765e-05/0.3276, allocations: 4.859 kB / 1.07 GB, free: 8.691 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002226/0.3279, allocations: 85.19 kB / 1.07 GB, free: 8.59 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3279, allocations: 34.56 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.834e-06/0.3279, allocations: 0 / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001736/0.3281, allocations: 37.64 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.235e-05/0.3281, allocations: 55.53 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.124e-05/0.3282, allocations: 89.86 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.3282, allocations: 29.64 kB / 1.07 GB, free: 8.305 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.676e-05/0.3282, allocations: 80.14 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.416e-05/0.3283, allocations: 3.984 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.3283, allocations: 17.66 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/0.3284, allocations: 310.8 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.3284, allocations: 0 / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.118e-05/0.3284, allocations: 12 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.43e-05/0.3285, allocations: 4.859 kB / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3285, allocations: 0 / 1.07 GB, free: 7.863 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.768e-05/0.3285, allocations: 33.7 kB / 1.07 GB, free: 7.824 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3286, allocations: 7.984 kB / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.3286, allocations: 0 / 1.07 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3286, allocations: 3.938 kB / 1.07 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.3286, allocations: 7.938 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.3287, allocations: 3.938 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.126e-05/0.3287, allocations: 4.094 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.3287, allocations: 0 / 1.07 GB, free: 7.797 MB / 0.8262 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 6.913e-05/0.3288, allocations: 107.9 kB / 1.071 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.3288, allocations: 3.906 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.337e-05/0.3289, allocations: 44.75 kB / 1.071 GB, free: 7.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.3289, allocations: 4 kB / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3289, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.3289, allocations: 0 / 1.071 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.079e-05/0.329, allocations: 145.7 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.329, allocations: 0 / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.012e-05/0.329, allocations: 4 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.329, allocations: 3.984 kB / 1.071 GB, free: 7.426 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.329, allocations: 3.938 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.329, allocations: 0 / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3291, allocations: 3.938 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.94e-05/0.3291, allocations: 57.14 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.021e-05/0.3292, allocations: 81.14 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.3292, allocations: 7.922 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.374e-06/0.3292, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.583e-05/0.3292, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3292, allocations: 4 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.766e-05/0.3293, allocations: 77.45 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3293, allocations: 0 / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000233/0.3295, allocations: 8 kB / 1.071 GB, free: 7.152 MB / 0.8262 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.0002059/0.3297, allocations: 123.2 kB / 1.071 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.423e-05/0.3298, allocations: 11.94 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3298, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.542e-06/0.3298, allocations: 0 / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001363/0.33, allocations: 4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002148/0.3302, allocations: 80.92 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002056/0.3304, allocations: 0.6769 MB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.196e-05/0.3304, allocations: 0 / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.458e-05/0.3305, allocations: 11.44 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3305, allocations: 0 / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of Templates: time 0.002404/0.3329, allocations: 412.9 kB / 1.072 GB, free: 5.785 MB / 0.8262 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 -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/jenkins/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