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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 106.5 kB / 17.08 MB, free: 5.82 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 193.2 kB / 20.03 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.432/1.432, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.925/2.925, allocations: 489.2 MB / 0.7687 GB, free: 3.961 MB / 0.6075 GB " [Timeout remaining time 176] 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.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 67.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7999/0.8018, allocations: 163.8 MB / 1.263 GB, free: 7.996 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002178/0.804, allocations: 1.436 MB / 1.264 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003572/0.8044, allocations: 167.4 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.311e-05/0.8044, allocations: 0.7188 kB / 1.264 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.14e-05/0.8044, allocations: 7.766 kB / 1.264 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.876e-05/0.8045, allocations: 6.781 kB / 1.264 GB, free: 6.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002687/0.8047, allocations: 37.89 kB / 1.264 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 5.318e-05/0.8048, allocations: 23.8 kB / 1.264 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.484e-05/0.8049, allocations: 8.625 kB / 1.264 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.8049, allocations: 13.14 kB / 1.264 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.316e-05/0.805, allocations: 9.078 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.805, allocations: 2.5 kB / 1.264 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001123/0.8051, allocations: 34.3 kB / 1.264 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.8051, allocations: 6.141 kB / 1.264 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.8051, allocations: 10.56 kB / 1.264 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.8053, allocations: 53.05 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.8053, allocations: 0.875 kB / 1.264 GB, free: 6.812 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.8053, allocations: 4 kB / 1.264 GB, free: 6.809 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.8053, allocations: 0 / 1.264 GB, free: 6.809 MB / 0.9981 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.0003407/0.8056, allocations: 341.9 kB / 1.265 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.987e-05/0.8057, allocations: 9.406 kB / 1.265 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.8057, allocations: 7.281 kB / 1.265 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.36e-05/0.8058, allocations: 162.8 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.8058, allocations: 1.172 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.8058, allocations: 1.938 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.806, allocations: 53.34 kB / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.806, allocations: 192 / 1.265 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.806, allocations: 4.781 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.806, allocations: 0.9062 kB / 1.265 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.8062, allocations: 39.56 kB / 1.265 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.8064, allocations: 243.4 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.8065, allocations: 45 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.487e-05/0.8066, allocations: 22.78 kB / 1.265 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.8068, allocations: 84.89 kB / 1.265 GB, free: 5.785 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.8068, allocations: 31.28 kB / 1.265 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 2.274e-06/0.8068, allocations: 0 / 1.265 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003728/0.8072, allocations: 93.05 kB / 1.265 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.354e-05/0.8072, allocations: 52.11 kB / 1.265 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.8073, allocations: 100.8 kB / 1.266 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-06/0.8073, allocations: 26.55 kB / 1.266 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.086e-05/0.8073, allocations: 81.62 kB / 1.266 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.8073, allocations: 5.422 kB / 1.266 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.8074, allocations: 28.95 kB / 1.266 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.688e-05/0.8074, allocations: 312.8 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.449e-05/0.8075, allocations: 14.02 kB / 1.266 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.609e-05/0.8076, allocations: 18.72 kB / 1.266 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.8077, allocations: 40.66 kB / 1.266 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.8077, allocations: 4.062 kB / 1.266 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001969/0.8079, allocations: 67.75 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.808, allocations: 4.906 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.808, allocations: 1.344 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.808, allocations: 0.9688 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.617e-05/0.8081, allocations: 8.906 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.8081, allocations: 0 / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.8081, allocations: 6.781 kB / 1.266 GB, free: 5.008 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.8081, allocations: 4.875 kB / 1.266 GB, free: 5.004 MB / 0.9981 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 3.929e-05/0.8082, allocations: 119.2 kB / 1.266 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.399e-05/0.8082, allocations: 6.125 kB / 1.266 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.8084, allocations: 74.56 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8085, allocations: 0.8438 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8085, allocations: 1.484 kB / 1.266 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.8085, allocations: 4.031 kB / 1.266 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001071/0.8086, allocations: 164.4 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.8086, allocations: 0 / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.602e-05/0.8086, allocations: 8.547 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.8087, allocations: 1.656 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-06/0.8087, allocations: 0 / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.8087, allocations: 0.7812 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.8087, allocations: 0.5625 kB / 1.267 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.8089, allocations: 170.6 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.432e-05/0.8089, allocations: 82.59 kB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.8089, allocations: 1.422 kB / 1.267 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.809, allocations: 10.03 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.809, allocations: 2.219 kB / 1.267 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-06/0.809, allocations: 5.438 kB / 1.267 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.064e-05/0.8091, allocations: 80.08 kB / 1.267 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8091, allocations: 4.031 kB / 1.267 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000226/0.8093, allocations: 9.875 kB / 1.267 GB, free: 4.301 MB / 0.9981 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.0001674/0.8095, allocations: 119.2 kB / 1.267 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.8097, allocations: 34.53 kB / 1.267 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.8097, allocations: 5.375 kB / 1.267 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.173e-05/0.8098, allocations: 20 kB / 1.267 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.8101, allocations: 14.53 kB / 1.267 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001976/0.8103, allocations: 129.4 kB / 1.267 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.17e-05/0.8103, allocations: 0.6759 MB / 1.268 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.85e-05/0.8104, allocations: 9.5 kB / 1.268 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of SimCode: time 2.3e-07/0.8104, allocations: 0 / 1.268 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of Templates: time 0.002329/0.8127, allocations: 0.771 MB / 1.269 GB, free: 3.27 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.826131733134389]