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.001432/0.001432, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001852/0.001852, allocations: 177.4 kB / 23.36 MB, free: 1.129 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 1.028/1.028, allocations: 177.2 MB / 203.8 MB, free: 5.473 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.46/2.46, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.087e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001829/0.00185, allocations: 1.502 MB / 0.8401 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0003158/0.002165, allocations: 139.4 kB / 0.8402 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.298e-05/0.002188, allocations: 4 kB / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.002211, allocations: 0 / 0.8402 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.159e-05/0.002253, allocations: 11.92 kB / 0.8402 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.002548, allocations: 35.84 kB / 0.8402 GB, free: 12.53 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 5.044e-05/0.002598, allocations: 23.92 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 6.301e-05/0.002662, allocations: 7.984 kB / 0.8403 GB, free: 12.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.232e-05/0.002694, allocations: 15.92 kB / 0.8403 GB, free: 12.48 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 2.699e-05/0.002721, allocations: 11.92 kB / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.002734, allocations: 0 / 0.8403 GB, free: 12.47 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-05/0.002826, allocations: 43.95 kB / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.586e-06/0.002835, allocations: 0 / 0.8403 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.365e-05/0.002848, allocations: 8 kB / 0.8403 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.854e-05/0.002947, allocations: 43.81 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.002948, allocations: 4 kB / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.112e-06/0.002949, allocations: 0 / 0.8404 GB, free: 12.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.675e-06/0.002952, allocations: 3.938 kB / 0.8404 GB, free: 12.37 MB / 0.8073 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.0002619/0.003214, allocations: 240.9 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.064e-05/0.003245, allocations: 8.625 kB / 0.8406 GB, free: 12.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.882e-05/0.003294, allocations: 4.938 kB / 0.8406 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.884e-05/0.003362, allocations: 109.7 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.003371, allocations: 384 / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.096e-06/0.003379, allocations: 4.375 kB / 0.8407 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.59e-05/0.003465, allocations: 54.94 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-06/0.003471, allocations: 4.188 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.801e-06/0.003477, allocations: 384 / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.003482, allocations: 384 / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.903e-05/0.003501, allocations: 11.92 kB / 0.8408 GB, free: 11.88 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001714/0.003673, allocations: 148.3 kB / 0.841 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.603e-05/0.003709, allocations: 18.58 kB / 0.841 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.179e-05/0.003721, allocations: 4.859 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 8.031e-05/0.003801, allocations: 8.047 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.00382, allocations: 38.56 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.003821, allocations: 0 / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001018/0.003923, allocations: 41.64 kB / 0.8411 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.003951, allocations: 55.34 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.447e-05/0.003996, allocations: 106.7 kB / 0.8412 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-06/0.004004, allocations: 25.7 kB / 0.8412 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.662e-05/0.004031, allocations: 84.14 kB / 0.8413 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.4e-05/0.004045, allocations: 7.891 kB / 0.8413 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.078e-05/0.004065, allocations: 13.72 kB / 0.8413 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/0.004131, allocations: 326.8 kB / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-06/0.004139, allocations: 0 / 0.8416 GB, free: 10.93 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.215e-06/0.004147, allocations: 4.125 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.783e-05/0.004165, allocations: 12.92 kB / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.004166, allocations: 0 / 0.8417 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.263e-05/0.004219, allocations: 41.62 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.004229, allocations: 4 kB / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.004233, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.004243, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.594e-05/0.004289, allocations: 7.938 kB / 0.8417 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.004294, allocations: 7.984 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.489e-05/0.004309, allocations: 4 kB / 0.8417 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-06/0.004313, allocations: 8.016 kB / 0.8417 GB, free: 10.83 MB / 0.8073 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 4.589e-05/0.004359, allocations: 109.8 kB / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.758e-05/0.004377, allocations: 0 / 0.8418 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001273/0.004504, allocations: 48.94 kB / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.004506, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.004508, allocations: 3.938 kB / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.034e-06/0.00451, allocations: 0 / 0.8419 GB, free: 10.65 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.432e-05/0.004584, allocations: 65.89 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.004585, allocations: 0 / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.079e-05/0.004606, allocations: 4 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.004607, allocations: 4.031 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.731e-06/0.004613, allocations: 4 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004614, allocations: 0 / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.004614, allocations: 0 / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.72e-05/0.004681, allocations: 135.5 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.059e-06/0.004687, allocations: 3.953 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-06/0.004695, allocations: 11.92 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.732e-05/0.004722, allocations: 0 / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.321e-05/0.004745, allocations: 4 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.783e-06/0.004747, allocations: 4 kB / 0.8421 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.049e-05/0.004758, allocations: 16.81 kB / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.004758, allocations: 0 / 0.8421 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001247/0.004882, allocations: 8 kB / 0.8421 GB, free: 10.36 MB / 0.8073 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.0001132/0.004996, allocations: 96.28 kB / 0.8422 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 4.767e-05/0.005043, allocations: 8.859 kB / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.005045, allocations: 0 / 0.8422 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.005057, allocations: 12.92 kB / 0.8423 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001187/0.005176, allocations: 9.891 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.005355, allocations: 100.8 kB / 0.8424 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.792e-05/0.005383, allocations: 51.36 kB / 0.8424 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.368e-05/0.005397, allocations: 3.984 kB / 0.8424 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.467e-05/0.005432, allocations: 55.36 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of SimCode: time 3.91e-07/0.005432, allocations: 0 / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of Templates: time 0.002084/0.007516, allocations: 0.6857 MB / 0.8431 GB, free: 9.289 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_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.368841324932873]