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.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.0009767/0.0009767, allocations: 92.2 kB / 20.19 MB, free: 4.359 MB / 18.57 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.000956/0.000956, allocations: 173 kB / 23.5 MB, free: 1.051 MB / 18.57 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 0.9377/0.9377, allocations: 177.1 MB / 203.8 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 2.02/2.02, allocations: 429.5 MB / 0.6736 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.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 2.064e-06/2.064e-06, allocations: 3.938 kB / 0.8782 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.912e-05, allocations: 9.719 kB / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.001663/0.001692, allocations: 0.6039 MB / 0.8788 GB, free: 5.984 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003578/0.00205, allocations: 82.69 kB / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.309e-05/0.002073, allocations: 0 / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.817e-05/0.002091, allocations: 0 / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.552e-06/0.002097, allocations: 1.969 kB / 0.8789 GB, free: 5.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.002554, allocations: 32.5 kB / 0.8789 GB, free: 5.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.191e-05/0.002606, allocations: 7.984 kB / 0.879 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.297e-05/0.002659, allocations: 0.6562 kB / 0.879 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.764e-05/0.002687, allocations: 0.7188 kB / 0.879 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.876e-05/0.002705, allocations: 0.9844 kB / 0.879 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.00272, allocations: 3.812 kB / 0.879 GB, free: 5.867 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.002869, allocations: 40.77 kB / 0.879 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.00288, allocations: 4 kB / 0.879 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.002897, allocations: 0 / 0.879 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.003022, allocations: 32 kB / 0.879 GB, free: 5.793 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.003025, allocations: 3.938 kB / 0.879 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.61e-07/0.003026, allocations: 0 / 0.879 GB, free: 5.789 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.00303, allocations: 0 / 0.879 GB, free: 5.789 MB / 0.8386 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.0003126/0.003343, allocations: 336.4 kB / 0.8794 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.003389, allocations: 8.031 kB / 0.8794 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.353e-05/0.003483, allocations: 6.406 kB / 0.8794 GB, free: 5.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.474e-05/0.003567, allocations: 112.5 kB / 0.8795 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.003587, allocations: 384 / 0.8795 GB, free: 5.273 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.003598, allocations: 4.375 kB / 0.8795 GB, free: 5.27 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.707e-05/0.003695, allocations: 31.3 kB / 0.8795 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.003703, allocations: 192 / 0.8795 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.003712, allocations: 384 / 0.8795 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.003721, allocations: 1.5 kB / 0.8795 GB, free: 5.234 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.714e-05/0.003738, allocations: 3.938 kB / 0.8795 GB, free: 5.23 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001291/0.003868, allocations: 108.6 kB / 0.8796 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.666e-05/0.003914, allocations: 28.09 kB / 0.8796 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.134e-05/0.003936, allocations: 11.78 kB / 0.8797 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001823/0.004118, allocations: 9.047 kB / 0.8797 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.004151, allocations: 37.39 kB / 0.8797 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.004153, allocations: 0 / 0.8797 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001615/0.004314, allocations: 38.89 kB / 0.8797 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.647e-05/0.004351, allocations: 51.41 kB / 0.8798 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.068e-05/0.004401, allocations: 144 kB / 0.8799 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.004414, allocations: 25.7 kB / 0.88 GB, free: 4.691 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.833e-05/0.004453, allocations: 130.9 kB / 0.8801 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.004491, allocations: 11.89 kB / 0.8801 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.004524, allocations: 16.03 kB / 0.8801 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.00467, allocations: 0.4883 MB / 0.8806 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.00468, allocations: 1.656 kB / 0.8806 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-06/0.004687, allocations: 0 / 0.8806 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.287e-05/0.00473, allocations: 15.67 kB / 0.8806 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.004732, allocations: 0.5 kB / 0.8806 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.498e-05/0.004807, allocations: 35.52 kB / 0.8806 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.004821, allocations: 4 kB / 0.8806 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.004827, allocations: 3.938 kB / 0.8806 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.004842, allocations: 4 kB / 0.8806 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.474e-05/0.004886, allocations: 7.938 kB / 0.8807 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.004893, allocations: 0.6875 kB / 0.8807 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.133e-05/0.004904, allocations: 3.938 kB / 0.8807 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.00491, allocations: 0.8438 kB / 0.8807 GB, free: 3.941 MB / 0.8386 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 7.88e-05/0.004988, allocations: 162.2 kB / 0.8808 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.005008, allocations: 0 / 0.8808 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.005085, allocations: 32.7 kB / 0.8808 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.005087, allocations: 0 / 0.8808 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.005092, allocations: 2.75 kB / 0.8808 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.005095, allocations: 0 / 0.8808 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.258e-05/0.005177, allocations: 120.6 kB / 0.881 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.005178, allocations: 0 / 0.881 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/0.00519, allocations: 0 / 0.881 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.005193, allocations: 0 / 0.881 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.005201, allocations: 4 kB / 0.881 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.005202, allocations: 0 / 0.881 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.005203, allocations: 4.25 kB / 0.881 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.417e-05/0.005297, allocations: 73.08 kB / 0.881 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-06/0.005303, allocations: 3.984 kB / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.046e-05/0.005314, allocations: 0 / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.683e-06/0.00532, allocations: 0 / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.633e-05/0.005337, allocations: 0 / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.005339, allocations: 0 / 0.881 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.303e-05/0.005382, allocations: 123.2 kB / 0.8812 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.01e-07/0.005382, allocations: 0 / 0.8812 GB, free: 3.355 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002189/0.005601, allocations: 4 kB / 0.8812 GB, free: 3.352 MB / 0.8386 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.0001681/0.005769, allocations: 123.1 kB / 0.8813 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.53e-05/0.005844, allocations: 15.62 kB / 0.8813 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.005846, allocations: 0 / 0.8813 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.041e-05/0.005857, allocations: 11.69 kB / 0.8813 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001346/0.005991, allocations: 2.438 kB / 0.8813 GB, free: 3.188 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002053/0.006197, allocations: 87.94 kB / 0.8814 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.886e-05/0.006236, allocations: 59.42 kB / 0.8814 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.121e-05/0.006247, allocations: 0 / 0.8814 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.688e-05/0.006264, allocations: 12.5 kB / 0.8815 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.006264, allocations: 0 / 0.8815 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.002541/0.008806, allocations: 419.9 kB / 0.8819 GB, free: 2.574 MB / 0.8386 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.100467660930008]