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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 105.8 kB / 19.69 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 215.2 kB / 23.01 MB, free: 5.113 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.258/3.258, allocations: 0.505 GB / 0.8108 GB, free: 22.03 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 72.48 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3448, allocations: 180.2 MB / 1.354 GB, free: 7.922 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002727/0.3475, allocations: 1.473 MB / 1.356 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0004469/0.348, allocations: 151.6 kB / 1.356 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.348, allocations: 0 / 1.356 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.385e-05/0.348, allocations: 0 / 1.356 GB, free: 6.293 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.48e-05/0.3481, allocations: 7.938 kB / 1.356 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.3484, allocations: 31.89 kB / 1.356 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.3485, allocations: 23.92 kB / 1.356 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.3486, allocations: 7.938 kB / 1.356 GB, free: 6.223 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.757e-05/0.3486, allocations: 15.92 kB / 1.356 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 3.523e-05/0.3486, allocations: 11.98 kB / 1.356 GB, free: 6.195 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.3486, allocations: 3.938 kB / 1.356 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3488, allocations: 43.91 kB / 1.356 GB, free: 6.148 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.055e-05/0.3488, allocations: 3.984 kB / 1.356 GB, free: 6.145 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.512e-05/0.3488, allocations: 11.92 kB / 1.356 GB, free: 6.133 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.3489, allocations: 43.89 kB / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3489, allocations: 0 / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3489, allocations: 0 / 1.356 GB, free: 6.09 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.349, allocations: 0 / 1.356 GB, free: 6.09 MB / 1.045 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.0004385/0.3494, allocations: 266.3 kB / 1.356 GB, free: 5.797 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.3494, allocations: 11.97 kB / 1.356 GB, free: 5.785 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.265e-05/0.3495, allocations: 4.938 kB / 1.356 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001197/0.3496, allocations: 110.5 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.3496, allocations: 4.375 kB / 1.356 GB, free: 5.645 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.3496, allocations: 4.375 kB / 1.356 GB, free: 5.641 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.3498, allocations: 54.17 kB / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.3498, allocations: 192 / 1.356 GB, free: 5.582 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.3498, allocations: 3.938 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.3498, allocations: 0 / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001666/0.35, allocations: 31.95 kB / 1.356 GB, free: 5.547 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.3503, allocations: 224.1 kB / 1.357 GB, free: 5.285 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.3505, allocations: 34.5 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.022e-05/0.3505, allocations: 24.89 kB / 1.357 GB, free: 5.215 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.3507, allocations: 11.92 kB / 1.357 GB, free: 5.203 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.3507, allocations: 38.56 kB / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.3507, allocations: 0 / 1.357 GB, free: 5.156 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0003735/0.3511, allocations: 73.66 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.3512, allocations: 55.39 kB / 1.357 GB, free: 5.012 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.3512, allocations: 97.86 kB / 1.357 GB, free: 4.906 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.3513, allocations: 29.7 kB / 1.357 GB, free: 4.871 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.952e-05/0.3513, allocations: 80.27 kB / 1.357 GB, free: 4.789 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.387e-05/0.3513, allocations: 15.89 kB / 1.357 GB, free: 4.773 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.3514, allocations: 17.7 kB / 1.357 GB, free: 4.75 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3515, allocations: 310.8 kB / 1.357 GB, free: 4.438 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.656e-05/0.3516, allocations: 15.98 kB / 1.357 GB, free: 4.422 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.257e-05/0.3517, allocations: 19.92 kB / 1.357 GB, free: 4.402 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.3518, allocations: 40.88 kB / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3518, allocations: 0 / 1.357 GB, free: 4.359 MB / 1.045 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002106/0.352, allocations: 73.56 kB / 1.357 GB, free: 4.281 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.352, allocations: 7.984 kB / 1.357 GB, free: 4.273 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.352, allocations: 3.938 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.3521, allocations: 4 kB / 1.357 GB, free: 4.266 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.995e-05/0.3521, allocations: 4 kB / 1.357 GB, free: 4.262 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3521, allocations: 4.031 kB / 1.357 GB, free: 4.258 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.3522, allocations: 11.98 kB / 1.357 GB, free: 4.246 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.3522, allocations: 0 / 1.357 GB, free: 4.246 MB / 1.045 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.751e-05/0.3523, allocations: 126.2 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.388e-05/0.3523, allocations: 0 / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.3525, allocations: 72.95 kB / 1.358 GB, free: 4.039 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3525, allocations: 8.219 kB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.3526, allocations: 0 / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3526, allocations: 3.984 kB / 1.358 GB, free: 4.027 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3527, allocations: 128.7 kB / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3527, allocations: 0 / 1.358 GB, free: 3.859 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.3528, allocations: 11.98 kB / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3528, allocations: 0 / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/0.3528, allocations: 0 / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3528, allocations: 0 / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3528, allocations: 0 / 1.358 GB, free: 3.848 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.353, allocations: 171.4 kB / 1.358 GB, free: 3.664 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.955e-06/0.3531, allocations: 3.953 kB / 1.358 GB, free: 3.66 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.3531, allocations: 4 kB / 1.358 GB, free: 3.656 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.3531, allocations: 3.984 kB / 1.358 GB, free: 3.652 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.3532, allocations: 4 kB / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.786e-06/0.3532, allocations: 0 / 1.358 GB, free: 3.648 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.324e-05/0.3532, allocations: 91.3 kB / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3532, allocations: 0 / 1.358 GB, free: 3.559 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002372/0.3535, allocations: 8 kB / 1.358 GB, free: 3.551 MB / 1.045 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.0001831/0.3537, allocations: 103.2 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002218/0.3539, allocations: 43.89 kB / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3539, allocations: 0 / 1.358 GB, free: 3.395 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 8.377e-05/0.354, allocations: 19.98 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.3543, allocations: 6.125 kB / 1.358 GB, free: 3.371 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.3545, allocations: 131.2 kB / 1.358 GB, free: 3.211 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/0.3549, allocations: 0.6768 MB / 1.359 GB, free: 2.508 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.736e-05/0.3549, allocations: 15.56 kB / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of SimCode: time 3.1e-07/0.3549, allocations: 0 / 1.359 GB, free: 2.492 MB / 1.045 GB Notification: Performance of Templates: time 0.00236/0.3572, allocations: 0.755 MB / 1.36 GB, free: 1.742 MB / 1.045 GB " [Timeout remaining time 300] 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/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: 11.281567445985274]