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.007014/0.007014, allocations: 100.2 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.001521/0.001521, allocations: 193.1 kB / 16.67 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.57/2.57, allocations: 472.7 MB / 0.7453 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 71.88 kB / 1.07 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8446/0.8458, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001895/0.8478, allocations: 0.5806 MB / 1.226 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0003617/0.8482, allocations: 101.5 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.8482, allocations: 4 kB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 1.54e-05/0.8482, allocations: 0 / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.982e-06/0.8482, allocations: 0 / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.00037/0.8486, allocations: 35.83 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 4.113e-05/0.8487, allocations: 0 / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.8487, allocations: 4 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 1.6e-05/0.8488, allocations: 0 / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.027e-05/0.8488, allocations: 4 kB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.8488, allocations: 0 / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.849, allocations: 35.97 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.198e-05/0.849, allocations: 4 kB / 1.226 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 1.823e-05/0.849, allocations: 7.922 kB / 1.226 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001286/0.8491, allocations: 27.91 kB / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.8491, allocations: 0 / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8492, allocations: 0 / 1.226 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.8492, allocations: 4 kB / 1.226 GB, free: 12.66 MB / 0.9512 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.0002935/0.8495, allocations: 324 kB / 1.227 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.8495, allocations: 12.03 kB / 1.227 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.162e-05/0.8496, allocations: 0.9375 kB / 1.227 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.381e-05/0.8497, allocations: 160.4 kB / 1.227 GB, free: 12.09 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.404e-05/0.8497, allocations: 4.359 kB / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.867e-06/0.8497, allocations: 384 / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.8498, allocations: 34.25 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.343e-06/0.8498, allocations: 192 / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.8499, allocations: 3.938 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.8499, allocations: 0 / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.8499, allocations: 7.938 kB / 1.227 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.85, allocations: 153.7 kB / 1.227 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 3.572e-05/0.8501, allocations: 14.58 kB / 1.227 GB, free: 11.81 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.8501, allocations: 8.953 kB / 1.227 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002195/0.8503, allocations: 85.09 kB / 1.227 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.8504, allocations: 34.56 kB / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.8504, allocations: 0 / 1.227 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001541/0.8505, allocations: 45.56 kB / 1.227 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.8506, allocations: 51.41 kB / 1.227 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.082e-05/0.8506, allocations: 89.86 kB / 1.227 GB, free: 11.44 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.8506, allocations: 25.7 kB / 1.227 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.462e-05/0.8507, allocations: 80.14 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.8507, allocations: 4 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/0.8507, allocations: 13.72 kB / 1.228 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.652e-05/0.8508, allocations: 315 kB / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.066e-05/0.8509, allocations: 0 / 1.228 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.306e-06/0.8509, allocations: 7.938 kB / 1.228 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.8509, allocations: 8.844 kB / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.8509, allocations: 0 / 1.228 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.258e-05/0.851, allocations: 37.64 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.851, allocations: 4 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.851, allocations: 0 / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.851, allocations: 3.938 kB / 1.228 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.794e-05/0.8511, allocations: 12.09 kB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.23e-06/0.8511, allocations: 0 / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.8511, allocations: 0 / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.039e-06/0.8511, allocations: 0 / 1.228 GB, free: 10.91 MB / 0.9512 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.348e-05/0.8512, allocations: 109.8 kB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.439e-05/0.8512, allocations: 7.984 kB / 1.228 GB, free: 10.78 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.203e-05/0.8513, allocations: 40.7 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.8513, allocations: 0 / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.8513, allocations: 4.031 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.8513, allocations: 3.938 kB / 1.228 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.307e-05/0.8514, allocations: 153.6 kB / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.8514, allocations: 0 / 1.228 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.599e-05/0.8515, allocations: 4 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.8515, allocations: 0 / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.8515, allocations: 3.938 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.8515, allocations: 3.984 kB / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8515, allocations: 0 / 1.228 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.043e-05/0.8516, allocations: 61.12 kB / 1.228 GB, free: 10.44 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.8516, allocations: 77.11 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.8516, allocations: 7.938 kB / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-06/0.8516, allocations: 0 / 1.228 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.8517, allocations: 3.938 kB / 1.228 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.8517, allocations: 4 kB / 1.228 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 2.628e-05/0.8517, allocations: 75.28 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8517, allocations: 4 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002115/0.8519, allocations: 4 kB / 1.228 GB, free: 10.25 MB / 0.9512 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.0001969/0.8521, allocations: 127.2 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 8.873e-05/0.8522, allocations: 7.938 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.8522, allocations: 0 / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 6.372e-06/0.8522, allocations: 0 / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001355/0.8524, allocations: 4 kB / 1.229 GB, free: 10.1 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001848/0.8526, allocations: 85.08 kB / 1.229 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.8528, allocations: 0.669 MB / 1.229 GB, free: 9.293 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.593e-05/0.8528, allocations: 4 kB / 1.229 GB, free: 9.289 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.489e-05/0.8529, allocations: 11.38 kB / 1.229 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.8529, allocations: 0 / 1.229 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of Templates: time 0.002584/0.8555, allocations: 398.6 kB / 1.23 GB, free: 8.891 MB / 0.9512 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