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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 113.1 kB / 17.08 MB, free: 5.949 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.001723/0.001723, allocations: 191.7 kB / 20.03 MB, free: 3.027 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.407/1.407, allocations: 222.9 MB / 245.7 MB, free: 4.18 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.926/2.926, allocations: 489.3 MB / 0.7687 GB, free: 3.824 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.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|E1",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 71.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.916/0.918, allocations: 163.8 MB / 1.263 GB, free: 8.02 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001573/0.9196, allocations: 0.5935 MB / 1.263 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0003372/0.9199, allocations: 95.36 kB / 1.263 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.146e-05/0.92, allocations: 0.8438 kB / 1.263 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.92, allocations: 3.938 kB / 1.263 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.149e-06/0.92, allocations: 0.5 kB / 1.263 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.9203, allocations: 37.31 kB / 1.263 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 3.465e-05/0.9204, allocations: 5.609 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.255e-05/0.9204, allocations: 2.594 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.194e-05/0.9204, allocations: 0 / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.633e-05/0.9204, allocations: 0.9062 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-06/0.9205, allocations: 0.7656 kB / 1.263 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.9206, allocations: 40.78 kB / 1.263 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 8.997e-06/0.9206, allocations: 1.125 kB / 1.263 GB, free: 7.562 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 1.456e-05/0.9206, allocations: 6.828 kB / 1.263 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.9207, allocations: 27.05 kB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.9208, allocations: 0 / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.9208, allocations: 0.75 kB / 1.263 GB, free: 7.555 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.9208, allocations: 0 / 1.263 GB, free: 7.555 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002168/0.921, allocations: 314.1 kB / 1.264 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.921, allocations: 9.562 kB / 1.264 GB, free: 7.207 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.9211, allocations: 10.2 kB / 1.264 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.123e-05/0.9211, allocations: 161.6 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.9212, allocations: 1.25 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-06/0.9212, allocations: 1.406 kB / 1.264 GB, free: 7.004 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.52e-05/0.9213, allocations: 32.39 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.9213, allocations: 0.8438 kB / 1.264 GB, free: 6.969 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-06/0.9213, allocations: 4.625 kB / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.9213, allocations: 0 / 1.264 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.68e-05/0.9213, allocations: 5.297 kB / 1.264 GB, free: 6.961 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.108e-05/0.9214, allocations: 149 kB / 1.264 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.184e-05/0.9214, allocations: 21.5 kB / 1.264 GB, free: 6.742 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.283e-05/0.9215, allocations: 9.703 kB / 1.264 GB, free: 6.73 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001789/0.9216, allocations: 84.03 kB / 1.264 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.9217, allocations: 36.86 kB / 1.264 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.9217, allocations: 0 / 1.264 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.9218, allocations: 39.83 kB / 1.264 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.178e-05/0.9218, allocations: 56.34 kB / 1.264 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.504e-05/0.9218, allocations: 90.61 kB / 1.264 GB, free: 6.391 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-06/0.9219, allocations: 25.7 kB / 1.264 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.807e-06/0.9219, allocations: 80.95 kB / 1.264 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.606e-05/0.9219, allocations: 4.594 kB / 1.264 GB, free: 6.273 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.073e-05/0.9219, allocations: 11.94 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.893e-05/0.922, allocations: 312.4 kB / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-06/0.922, allocations: 0.6875 kB / 1.265 GB, free: 5.945 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.012e-06/0.922, allocations: 6.391 kB / 1.265 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.056e-05/0.922, allocations: 15.27 kB / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.922, allocations: 0 / 1.265 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.111e-05/0.9221, allocations: 32.59 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.9221, allocations: 6.031 kB / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.9221, allocations: 0 / 1.265 GB, free: 5.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.9221, allocations: 4.734 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.187e-05/0.9222, allocations: 1.75 kB / 1.265 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.9222, allocations: 5.797 kB / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.656e-06/0.9222, allocations: 0 / 1.265 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.9222, allocations: 4.797 kB / 1.265 GB, free: 5.883 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 (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 3.559e-05/0.9222, allocations: 112.4 kB / 1.265 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.66e-05/0.9222, allocations: 0 / 1.265 GB, free: 5.766 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.342e-05/0.9223, allocations: 51.86 kB / 1.265 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.9223, allocations: 0 / 1.265 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.9223, allocations: 1.766 kB / 1.265 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.9223, allocations: 32 / 1.265 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.596e-05/0.9224, allocations: 151.9 kB / 1.265 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.9224, allocations: 1 kB / 1.265 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.9224, allocations: 2.141 kB / 1.265 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.9224, allocations: 0.75 kB / 1.265 GB, free: 5.523 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.9224, allocations: 4.734 kB / 1.265 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.9224, allocations: 0.8438 kB / 1.265 GB, free: 5.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.9224, allocations: 3.938 kB / 1.265 GB, free: 5.516 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.672e-05/0.9225, allocations: 65.03 kB / 1.265 GB, free: 5.441 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.339e-05/0.9225, allocations: 82.66 kB / 1.265 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-06/0.9225, allocations: 5.547 kB / 1.265 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.622e-06/0.9225, allocations: 0 / 1.265 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.768e-06/0.9225, allocations: 1.391 kB / 1.265 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.9226, allocations: 0.7812 kB / 1.265 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 1.073e-05/0.9226, allocations: 75.28 kB / 1.265 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.9226, allocations: 1.031 kB / 1.265 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001952/0.9228, allocations: 6.828 kB / 1.265 GB, free: 5.266 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 (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.0001536/0.9229, allocations: 123.3 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 6.059e-05/0.923, allocations: 4.812 kB / 1.266 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.923, allocations: 4 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.534e-06/0.923, allocations: 3.156 kB / 1.266 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001218/0.9231, allocations: 11.19 kB / 1.266 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001294/0.9233, allocations: 101.9 kB / 1.266 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.171e-05/0.9234, allocations: 0.6712 MB / 1.266 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.055e-05/0.9234, allocations: 8.125 kB / 1.266 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.9234, allocations: 0 / 1.266 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of Templates: time 0.002067/0.9255, allocations: 0.5524 MB / 1.267 GB, free: 4.285 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Functions.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.01313974102959]