Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0007636/0.0007636, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 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.0008061/0.0008061, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8937/0.8937, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.728/1.728, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.883e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.00179/0.001808, allocations: 1.447 MB / 0.9519 GB, free: 2.051 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0003172/0.002126, allocations: 155.5 kB / 0.9521 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.002148, allocations: 0 / 0.9521 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 2.485e-05/0.002173, allocations: 0 / 0.9521 GB, free: 1.898 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.557e-05/0.002209, allocations: 3.938 kB / 0.9521 GB, free: 1.895 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003055/0.002514, allocations: 43.83 kB / 0.9521 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.429e-05/0.002569, allocations: 23.86 kB / 0.9521 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.166e-05/0.00265, allocations: 12 kB / 0.9521 GB, free: 1.816 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.071e-05/0.002681, allocations: 15.98 kB / 0.9522 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.705e-05/0.002708, allocations: 0 / 0.9522 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.00272, allocations: 4 kB / 0.9522 GB, free: 1.797 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 9.661e-05/0.002817, allocations: 39.94 kB / 0.9522 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 9.267e-06/0.002826, allocations: 4 kB / 0.9522 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.481e-05/0.002841, allocations: 7.938 kB / 0.9522 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.002956, allocations: 55.8 kB / 0.9523 GB, free: 1.691 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.002959, allocations: 7.984 kB / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.723e-06/0.002961, allocations: 0 / 0.9523 GB, free: 1.684 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.346e-06/0.002964, allocations: 0 / 0.9523 GB, free: 1.684 MB / 0.9011 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.0003067/0.003271, allocations: 274.2 kB / 0.9525 GB, free: 1.383 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.003307, allocations: 8.031 kB / 0.9525 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.656e-05/0.003334, allocations: 30.75 kB / 0.9526 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.458e-05/0.003368, allocations: 4.891 kB / 0.9526 GB, free: 1.332 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.626e-05/0.003434, allocations: 105.8 kB / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.003443, allocations: 384 / 0.9527 GB, free: 1.203 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.195e-06/0.003451, allocations: 4.375 kB / 0.9527 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.003577, allocations: 46.23 kB / 0.9527 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.074e-06/0.003584, allocations: 8.172 kB / 0.9527 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.552e-06/0.00359, allocations: 4.312 kB / 0.9527 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.003596, allocations: 8.125 kB / 0.9527 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.00368, allocations: 35.89 kB / 0.9528 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002488/0.003929, allocations: 216 kB / 0.953 GB, free: 0.8398 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 8.426e-05/0.004013, allocations: 38.59 kB / 0.953 GB, free: 0.793 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.218e-05/0.004055, allocations: 20.91 kB / 0.953 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001013/0.004157, allocations: 7.984 kB / 0.953 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.004175, allocations: 50.44 kB / 0.9531 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.004176, allocations: 0 / 0.9531 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of matching and sorting (n=2): time 0.000208/0.004384, allocations: 77.64 kB / 0.9532 GB, free: 0.6211 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.627e-05/0.00441, allocations: 55.41 kB / 0.9532 GB, free: 0.5547 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.822e-05/0.004459, allocations: 97.86 kB / 0.9533 GB, free: 460 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.004467, allocations: 25.7 kB / 0.9533 GB, free: 428 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.0045, allocations: 84.12 kB / 0.9534 GB, free: 340 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 1.479e-05/0.004514, allocations: 7.953 kB / 0.9534 GB, free: 332 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.004538, allocations: 17.84 kB / 0.9534 GB, free: 308 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.004614, allocations: 310.8 kB / 0.9537 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.228e-05/0.004656, allocations: 19.98 kB / 0.9538 GB, free: 15.97 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.004692, allocations: 15.97 kB / 0.9538 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.584e-05/0.004768, allocations: 40.77 kB / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.00477, allocations: 0 / 0.9538 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001257/0.004895, allocations: 77.61 kB / 0.9539 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.004906, allocations: 4 kB / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.00491, allocations: 0 / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.004919, allocations: 0 / 0.9539 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.102e-05/0.00497, allocations: 11.98 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.004975, allocations: 0 / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.123e-05/0.004996, allocations: 4 kB / 0.9539 GB, free: 15.81 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.005001, allocations: 4 kB / 0.9539 GB, free: 15.8 MB / 0.9167 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.85e-05/0.005049, allocations: 113.9 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.005068, allocations: 7.938 kB / 0.954 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.005192, allocations: 72.91 kB / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.005193, allocations: 0 / 0.9541 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.005197, allocations: 3.938 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.005199, allocations: 4 kB / 0.9541 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.081e-05/0.00529, allocations: 120.8 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005291, allocations: 3.938 kB / 0.9542 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.658e-05/0.005318, allocations: 16.02 kB / 0.9542 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.005321, allocations: 7.938 kB / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.005326, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.005327, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.005328, allocations: 0 / 0.9542 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001272/0.005455, allocations: 159.5 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-06/0.005461, allocations: 7.891 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-06/0.00547, allocations: 4 kB / 0.9544 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.499e-05/0.005505, allocations: 8.016 kB / 0.9544 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.835e-05/0.005534, allocations: 8 kB / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.364e-06/0.005536, allocations: 0 / 0.9544 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 2.3e-05/0.005559, allocations: 79.28 kB / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.005559, allocations: 0 / 0.9545 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001653/0.005724, allocations: 11.94 kB / 0.9545 GB, free: 15.11 MB / 0.9167 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.0003654/0.00609, allocations: 0.7128 MB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.006207, allocations: 39.89 kB / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.162e-06/0.006208, allocations: 0 / 0.9552 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.006248, allocations: 19.98 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.006467, allocations: 5.656 kB / 0.9553 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.006778, allocations: 143.1 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.989e-05/0.006818, allocations: 59.34 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 1.721e-05/0.006835, allocations: 3.984 kB / 0.9555 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.876e-05/0.006864, allocations: 20.48 kB / 0.9555 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.006864, allocations: 0 / 0.9555 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01566/0.02253, allocations: 2.181 MB / 0.9576 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.862/6.885, allocations: 13.72 kB / 0.9576 GB, free: 11.97 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.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: 10.847203175537288]