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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005309/0.005309, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001127/0.001127, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.554/2.554, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 67.89 kB / 1.054 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9024/0.9035, allocations: 157.4 MB / 1.208 GB, free: 13.78 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00251/0.9061, allocations: 1.432 MB / 1.209 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0004469/0.9065, allocations: 167.4 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.751e-05/0.9066, allocations: 4 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.196e-05/0.9066, allocations: 0 / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-05/0.9067, allocations: 3.938 kB / 1.209 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.907, allocations: 35.91 kB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.823e-05/0.9071, allocations: 23.92 kB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.9071, allocations: 7.984 kB / 1.209 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.029e-05/0.9072, allocations: 15.92 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.242e-05/0.9072, allocations: 0 / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 9.758e-06/0.9072, allocations: 4 kB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.9074, allocations: 43.91 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.9074, allocations: 7.984 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.9074, allocations: 7.938 kB / 1.209 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000125/0.9076, allocations: 47.88 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.9076, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.113e-06/0.9076, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.9076, allocations: 0 / 1.209 GB, free: 11.98 MB / 0.9356 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.0004337/0.908, allocations: 349.3 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.9081, allocations: 12.03 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.9081, allocations: 4.938 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.9083, allocations: 160.4 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.9083, allocations: 384 / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.9083, allocations: 4.375 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.9085, allocations: 54.17 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.9085, allocations: 192 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.9085, allocations: 3.938 kB / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.9085, allocations: 0 / 1.21 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001492/0.9087, allocations: 35.95 kB / 1.21 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002962/0.909, allocations: 244.9 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.9091, allocations: 42.5 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.931e-05/0.9092, allocations: 28.83 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002134/0.9094, allocations: 93.03 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.9095, allocations: 30.56 kB / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.9095, allocations: 0 / 1.21 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0003409/0.9098, allocations: 85.55 kB / 1.211 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.9099, allocations: 51.41 kB / 1.211 GB, free: 10.61 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.9099, allocations: 102 kB / 1.211 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.9099, allocations: 29.7 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.315e-05/0.91, allocations: 84.08 kB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.91, allocations: 11.88 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.91, allocations: 17.72 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.921e-05/0.9101, allocations: 310.8 kB / 1.211 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.605e-05/0.9102, allocations: 11.98 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.809e-05/0.9103, allocations: 27.92 kB / 1.211 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.9104, allocations: 36.81 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.9104, allocations: 0 / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.00019/0.9106, allocations: 69.59 kB / 1.211 GB, free: 9.879 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.9107, allocations: 4 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.9107, allocations: 4.094 kB / 1.211 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.9107, allocations: 4 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.981e-05/0.9108, allocations: 4 kB / 1.211 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.9108, allocations: 3.984 kB / 1.211 GB, free: 9.859 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.775e-05/0.9108, allocations: 4 kB / 1.211 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.9109, allocations: 192 / 1.211 GB, free: 9.855 MB / 0.9356 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 6.555e-05/0.9109, allocations: 121.7 kB / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.911, allocations: 0 / 1.211 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.9112, allocations: 76.75 kB / 1.212 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9112, allocations: 4 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.9112, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.9112, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.9114, allocations: 161.6 kB / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9114, allocations: 0 / 1.212 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.424e-05/0.9115, allocations: 7.984 kB / 1.212 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.9115, allocations: 4 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.9115, allocations: 8.031 kB / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.9115, allocations: 0 / 1.212 GB, free: 9.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.9115, allocations: 3.938 kB / 1.212 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000222/0.9117, allocations: 167.3 kB / 1.212 GB, free: 9.23 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.9118, allocations: 77.11 kB / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.9118, allocations: 0 / 1.212 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.9119, allocations: 19.95 kB / 1.212 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.687e-05/0.9119, allocations: 4 kB / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.9119, allocations: 0 / 1.212 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.511e-05/0.9119, allocations: 83.27 kB / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.01e-07/0.912, allocations: 0 / 1.212 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002366/0.9122, allocations: 8 kB / 1.212 GB, free: 9.023 MB / 0.9356 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.0002073/0.9124, allocations: 111.2 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002084/0.9126, allocations: 43.91 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9126, allocations: 0 / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.602e-05/0.9127, allocations: 15.98 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.913, allocations: 9.969 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002614/0.9133, allocations: 105.6 kB / 1.212 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002412/0.9135, allocations: 0.6768 MB / 1.213 GB, free: 8 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.057e-05/0.9136, allocations: 7.984 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.808e-05/0.9136, allocations: 7.438 kB / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.9136, allocations: 0 / 1.213 GB, free: 7.984 MB / 0.9356 GB Notification: Performance of Templates: time 0.003094/0.9167, allocations: 0.6506 MB / 1.214 GB, free: 7.336 MB / 0.9356 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches