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.0009331/0.0009331, allocations: 92.22 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.0009829/0.0009829, allocations: 165 kB / 23.02 MB, free: 1.551 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.9232/0.9232, allocations: 177.1 MB / 203.4 MB, free: 5.207 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.141/2.141, allocations: 429.5 MB / 0.6732 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.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.522e-06/1.522e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.529e-05, allocations: 6.312 kB / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002131/0.002157, allocations: 1.502 MB / 0.8796 GB, free: 4.82 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0003929/0.00255, allocations: 140.2 kB / 0.8798 GB, free: 4.684 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.861e-05/0.002578, allocations: 4.984 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.345e-05/0.002612, allocations: 0 / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.033e-05/0.002662, allocations: 10.53 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003792/0.003041, allocations: 31.89 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.789e-05/0.003109, allocations: 27.86 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.934e-05/0.003198, allocations: 4 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 4.003e-05/0.003238, allocations: 12.95 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.887e-05/0.003267, allocations: 8 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.641e-05/0.003284, allocations: 1.125 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001075/0.003391, allocations: 35.95 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.344e-05/0.003405, allocations: 11.92 kB / 0.8799 GB, free: 4.543 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.15e-05/0.003426, allocations: 9.078 kB / 0.8799 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.003558, allocations: 39.83 kB / 0.88 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.003561, allocations: 0 / 0.88 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.102e-06/0.003562, allocations: 1.062 kB / 0.88 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003566, allocations: 0 / 0.88 GB, free: 4.496 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.000362/0.003928, allocations: 364.6 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.003966, allocations: 13 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.203e-05/0.004038, allocations: 4.875 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.004192, allocations: 117.3 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.004203, allocations: 384 / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.004215, allocations: 2.031 kB / 0.8804 GB, free: 3.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.004339, allocations: 54.94 kB / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.00435, allocations: 192 / 0.8805 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.00436, allocations: 4.375 kB / 0.8805 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.004368, allocations: 0.875 kB / 0.8805 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.823e-05/0.004396, allocations: 7.875 kB / 0.8805 GB, free: 3.871 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002756/0.004672, allocations: 245.7 kB / 0.8807 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.467e-05/0.004726, allocations: 43.03 kB / 0.8808 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.004746, allocations: 7.688 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001115/0.004857, allocations: 8.047 kB / 0.8808 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.00488, allocations: 38.73 kB / 0.8808 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.004881, allocations: 0 / 0.8808 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001563/0.005038, allocations: 49.58 kB / 0.8809 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.005063, allocations: 52.59 kB / 0.8809 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.348e-05/0.005126, allocations: 161.9 kB / 0.8811 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.005135, allocations: 25.7 kB / 0.8811 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.005177, allocations: 136.5 kB / 0.8812 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.005195, allocations: 7.891 kB / 0.8812 GB, free: 3.008 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.00522, allocations: 15.38 kB / 0.8813 GB, free: 2.984 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.005328, allocations: 0.4923 MB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.005343, allocations: 2.469 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.005354, allocations: 4 kB / 0.8817 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.892e-05/0.005382, allocations: 15.62 kB / 0.8818 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.005386, allocations: 4 kB / 0.8818 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.27e-05/0.005459, allocations: 45.64 kB / 0.8818 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.44e-05/0.005473, allocations: 6.062 kB / 0.8818 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005478, allocations: 3.938 kB / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.005494, allocations: 0 / 0.8818 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.901e-05/0.005553, allocations: 8 kB / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.005558, allocations: 3.984 kB / 0.8818 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.614e-05/0.005574, allocations: 4.219 kB / 0.8818 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.00558, allocations: 4 kB / 0.8818 GB, free: 2.375 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 6.14e-05/0.005641, allocations: 156.6 kB / 0.882 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.005666, allocations: 7.938 kB / 0.882 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.332e-05/0.00576, allocations: 48.88 kB / 0.882 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.005762, allocations: 0 / 0.882 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.005765, allocations: 0 / 0.882 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.005768, allocations: 4 kB / 0.882 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002362/0.006004, allocations: 112.6 kB / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006005, allocations: 0 / 0.8822 GB, free: 2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.112e-05/0.006037, allocations: 12.02 kB / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.006039, allocations: 0 / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-06/0.006046, allocations: 0 / 0.8822 GB, free: 1.988 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.006048, allocations: 3.938 kB / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.006049, allocations: 0 / 0.8822 GB, free: 1.984 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.006162, allocations: 195.8 kB / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.162e-06/0.006168, allocations: 0 / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006178, allocations: 0 / 0.8824 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.452e-05/0.006212, allocations: 7.938 kB / 0.8824 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.006255, allocations: 3.984 kB / 0.8824 GB, free: 1.762 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.006259, allocations: 8.031 kB / 0.8824 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.035e-05/0.006299, allocations: 123.2 kB / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006299, allocations: 0 / 0.8825 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001667/0.006466, allocations: 8 kB / 0.8825 GB, free: 1.625 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.0001847/0.006651, allocations: 111.2 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.69e-05/0.006748, allocations: 11.69 kB / 0.8826 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.00675, allocations: 4.062 kB / 0.8826 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.937e-05/0.006769, allocations: 15.62 kB / 0.8826 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.006968, allocations: 11.98 kB / 0.8826 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.007259, allocations: 114.3 kB / 0.8828 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.82e-05/0.007298, allocations: 55.36 kB / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.007314, allocations: 0 / 0.8828 GB, free: 1.242 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.007338, allocations: 8.5 kB / 0.8828 GB, free: 1.23 MB / 0.8386 GB Notification: Performance of SimCode: time 7.11e-07/0.007339, allocations: 4 kB / 0.8828 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of Templates: time 0.002487/0.009826, allocations: 0.6647 MB / 0.8835 GB, free: 0.5703 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.356621597427875]