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.0009918/0.0009918, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009151/0.0009151, allocations: 173 kB / 23.03 MB, free: 1.547 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.9736/0.9736, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.051/2.051, allocations: 429.5 MB / 0.6733 GB, free: 4.012 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.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.733e-06/1.733e-06, allocations: 0 / 0.8782 GB, free: 6.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.989e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.332 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002497/0.002516, allocations: 1.498 MB / 0.8796 GB, free: 4.844 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0004128/0.002929, allocations: 145.1 kB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.002959, allocations: 0 / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.749e-05/0.002996, allocations: 6.062 kB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.003049, allocations: 1.531 kB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.00343, allocations: 44.38 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.003502, allocations: 22.48 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.479e-05/0.003587, allocations: 0 / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.87e-05/0.003625, allocations: 11.98 kB / 0.8799 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.493e-05/0.00366, allocations: 17.05 kB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.003677, allocations: 4 kB / 0.8799 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.003795, allocations: 31.95 kB / 0.8799 GB, free: 4.574 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.483e-05/0.00381, allocations: 13.08 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.807e-05/0.003828, allocations: 0 / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.003976, allocations: 51.75 kB / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003978, allocations: 1.062 kB / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.11e-07/0.003979, allocations: 0 / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.158e-06/0.003983, allocations: 0 / 0.88 GB, free: 4.512 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000401/0.004384, allocations: 361.5 kB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.004427, allocations: 8.031 kB / 0.8803 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.004513, allocations: 9.438 kB / 0.8803 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.757e-05/0.00461, allocations: 114.4 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.004623, allocations: 4.375 kB / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.004631, allocations: 384 / 0.8804 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.004764, allocations: 58.89 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.465e-06/0.004773, allocations: 192 / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.004782, allocations: 1.562 kB / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.004791, allocations: 384 / 0.8805 GB, free: 3.898 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.004825, allocations: 11.94 kB / 0.8805 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.005136, allocations: 244.9 kB / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.226e-05/0.005208, allocations: 35.05 kB / 0.8808 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.305e-05/0.005231, allocations: 12.41 kB / 0.8808 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001209/0.005352, allocations: 11.92 kB / 0.8808 GB, free: 3.539 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.00538, allocations: 38.98 kB / 0.8808 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.005381, allocations: 0 / 0.8808 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001862/0.005568, allocations: 41.64 kB / 0.8809 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.005606, allocations: 58.14 kB / 0.8809 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.938e-05/0.005685, allocations: 161.9 kB / 0.8811 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.005696, allocations: 25.7 kB / 0.8811 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.005746, allocations: 130.9 kB / 0.8812 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.005765, allocations: 3.953 kB / 0.8812 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.005803, allocations: 27.36 kB / 0.8813 GB, free: 3 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.005945, allocations: 492.1 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.96e-05/0.005964, allocations: 13.66 kB / 0.8818 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.088e-05/0.005975, allocations: 0 / 0.8818 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.381e-05/0.006009, allocations: 15.69 kB / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.006011, allocations: 0 / 0.8818 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.288e-05/0.006104, allocations: 42.3 kB / 0.8818 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.00612, allocations: 12 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.006128, allocations: 3.938 kB / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.006143, allocations: 0 / 0.8818 GB, free: 2.418 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.823e-05/0.006212, allocations: 4 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.006217, allocations: 0 / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.873e-05/0.006246, allocations: 12.61 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.006251, allocations: 4.781 kB / 0.8818 GB, free: 2.398 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 (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 7.326e-05/0.006324, allocations: 156.6 kB / 0.882 GB, free: 2.234 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.006363, allocations: 8.219 kB / 0.882 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.988e-05/0.006463, allocations: 44.94 kB / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.006465, allocations: 0 / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.006469, allocations: 0 / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.006472, allocations: 0 / 0.882 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001264/0.006599, allocations: 116.6 kB / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.006599, allocations: 0 / 0.8822 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.088e-05/0.00663, allocations: 4 kB / 0.8822 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.006634, allocations: 4 kB / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.00664, allocations: 0 / 0.8822 GB, free: 2.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.006643, allocations: 3.938 kB / 0.8822 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006644, allocations: 4.031 kB / 0.8822 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.006766, allocations: 191.8 kB / 0.8824 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.32e-06/0.006772, allocations: 4 kB / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.006782, allocations: 0 / 0.8824 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.332e-05/0.006836, allocations: 11.94 kB / 0.8824 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.006874, allocations: 3.984 kB / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.006876, allocations: 0 / 0.8824 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.00692, allocations: 127.2 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.00692, allocations: 0 / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002584/0.007179, allocations: 8 kB / 0.8825 GB, free: 1.652 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 (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.0001588/0.007338, allocations: 115.1 kB / 0.8826 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.114e-05/0.007429, allocations: 19.62 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.00743, allocations: 0 / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.413e-05/0.007454, allocations: 19.67 kB / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.007702, allocations: 0 / 0.8826 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002799/0.007982, allocations: 122.4 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.003e-05/0.008022, allocations: 51.36 kB / 0.8828 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.973e-05/0.008042, allocations: 4 kB / 0.8828 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.501e-05/0.008067, allocations: 8.5 kB / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of SimCode: time 9.32e-07/0.008068, allocations: 0 / 0.8828 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.002945/0.01101, allocations: 0.7274 MB / 0.8835 GB, free: 0.5273 MB / 0.8386 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.219182460103184]