Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_11_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.00781/0.00781, allocations: 100 kB / 15.73 MB, free: 6.062 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.001904/0.001904, allocations: 197.6 kB / 16.68 MB, free: 5.973 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.871/2.871, allocations: 469.8 MB / 0.7425 GB, free: 7.328 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002378/0.002378, allocations: 71.89 kB / 1.065 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3485, allocations: 159.1 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002967/0.3515, allocations: 1.43 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0004842/0.352, allocations: 155.5 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.352, allocations: 0 / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.954e-05/0.3521, allocations: 7.922 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.916e-05/0.3521, allocations: 3.938 kB / 1.222 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.3525, allocations: 43.89 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 6.953e-05/0.3525, allocations: 15.94 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.3526, allocations: 11.98 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 5.768e-05/0.3527, allocations: 3.938 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.36e-05/0.3527, allocations: 15.98 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.398e-05/0.3528, allocations: 4 kB / 1.222 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.3529, allocations: 35.91 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.519e-05/0.3529, allocations: 7.984 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.438e-05/0.3529, allocations: 7.938 kB / 1.222 GB, free: 12.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.3531, allocations: 47.81 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.3531, allocations: 4 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3531, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3531, allocations: 0 / 1.222 GB, free: 11.98 MB / 0.9825 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.0004874/0.3536, allocations: 345.6 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3536, allocations: 8.031 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.874e-05/0.3537, allocations: 16.83 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.3538, allocations: 172.3 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.3538, allocations: 4.375 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.3539, allocations: 384 / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001903/0.354, allocations: 46.25 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3541, allocations: 192 / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.3541, allocations: 7.922 kB / 1.223 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3541, allocations: 8 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001644/0.3542, allocations: 31.91 kB / 1.223 GB, free: 11.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.3546, allocations: 245 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.3547, allocations: 38.5 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.612e-05/0.3548, allocations: 28.91 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001831/0.355, allocations: 81.09 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.355, allocations: 34.56 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.355, allocations: 0 / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0003839/0.3554, allocations: 85.58 kB / 1.223 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.3554, allocations: 55.53 kB / 1.224 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.148e-05/0.3555, allocations: 101.8 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3555, allocations: 25.7 kB / 1.224 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.117e-05/0.3556, allocations: 88.09 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.3556, allocations: 7.953 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.11e-05/0.3556, allocations: 9.719 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.3557, allocations: 314.8 kB / 1.224 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.483e-05/0.3558, allocations: 23.97 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.958e-05/0.3559, allocations: 15.98 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001442/0.356, allocations: 40.77 kB / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.356, allocations: 0 / 1.224 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000203/0.3562, allocations: 65.59 kB / 1.224 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.3563, allocations: 12.09 kB / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3563, allocations: 0 / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.3563, allocations: 0 / 1.224 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.241e-05/0.3564, allocations: 11.98 kB / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3564, allocations: 0 / 1.224 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.297e-05/0.3564, allocations: 11.92 kB / 1.224 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-06/0.3564, allocations: 0 / 1.224 GB, free: 9.84 MB / 0.9825 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 8.203e-05/0.3565, allocations: 113.8 kB / 1.224 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.3566, allocations: 11.94 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002161/0.3568, allocations: 72.7 kB / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3568, allocations: 0 / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3568, allocations: 0 / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3568, allocations: 0 / 1.224 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.357, allocations: 161.6 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.357, allocations: 0 / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/0.357, allocations: 8 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.357, allocations: 4.031 kB / 1.225 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.357, allocations: 3.984 kB / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.357, allocations: 0 / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.357, allocations: 0 / 1.225 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.3573, allocations: 171.5 kB / 1.225 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.3573, allocations: 85.09 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.3574, allocations: 8.031 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.184e-05/0.3574, allocations: 4 kB / 1.225 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.3575, allocations: 7.984 kB / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.3575, allocations: 0 / 1.225 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.934e-05/0.3575, allocations: 79.28 kB / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3575, allocations: 0 / 1.225 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000233/0.3578, allocations: 12 kB / 1.225 GB, free: 9.016 MB / 0.9825 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.0002087/0.358, allocations: 119.2 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002121/0.3582, allocations: 35.95 kB / 1.225 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3582, allocations: 3.938 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.531e-05/0.3583, allocations: 23.92 kB / 1.225 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002899/0.3586, allocations: 3.938 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003125/0.3589, allocations: 117.5 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.3591, allocations: 0.6768 MB / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.166e-05/0.3592, allocations: 0 / 1.226 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.3592, allocations: 7.438 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3592, allocations: 0 / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of Templates: time 0.002884/0.3621, allocations: 0.6464 MB / 1.227 GB, free: 7.324 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches