Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001281/0.001281, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001469/0.001469, allocations: 211 kB / 22.24 MB, free: 4.855 MB / 14.72 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.516/1.516, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.329/3.329, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002204/0.002204, allocations: 65.64 kB / 1.153 GB, free: 25.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4218/0.424, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003494/0.4275, allocations: 1.465 MB / 1.326 GB, free: 0.9102 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000489/0.428, allocations: 155.5 kB / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.382e-05/0.4281, allocations: 0 / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.828e-05/0.4281, allocations: 0 / 1.327 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.178e-05/0.4281, allocations: 7.938 kB / 1.327 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003864/0.4285, allocations: 35.84 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.488e-05/0.4286, allocations: 23.92 kB / 1.327 GB, free: 0.6914 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.515e-05/0.4287, allocations: 4 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.219e-05/0.4287, allocations: 11.98 kB / 1.327 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 3.817e-05/0.4288, allocations: 11.92 kB / 1.327 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.292e-05/0.4288, allocations: 4 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.4289, allocations: 43.89 kB / 1.327 GB, free: 0.6172 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.4289, allocations: 4 kB / 1.327 GB, free: 0.6133 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.247e-05/0.429, allocations: 3.938 kB / 1.327 GB, free: 0.6094 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.4291, allocations: 48.14 kB / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.4291, allocations: 0 / 1.327 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.044e-06/0.4291, allocations: 4 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.4291, allocations: 3.938 kB / 1.327 GB, free: 0.5547 MB / 1.014 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.0005281/0.4297, allocations: 266.3 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.4297, allocations: 8.031 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.142e-05/0.4297, allocations: 42.69 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.733e-05/0.4298, allocations: 0.9375 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.4299, allocations: 114.4 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.4299, allocations: 384 / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.4299, allocations: 8.359 kB / 1.327 GB, free: 60 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.4301, allocations: 42.25 kB / 1.327 GB, free: 12 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.4301, allocations: 3.938 kB / 1.327 GB, free: 8 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.4301, allocations: 4 kB / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.4301, allocations: 0 / 1.327 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.4303, allocations: 35.95 kB / 1.327 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.4307, allocations: 220 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.4309, allocations: 38.5 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.4309, allocations: 20.91 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000162/0.4311, allocations: 11.92 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4311, allocations: 34.56 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.4311, allocations: 0 / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004123/0.4316, allocations: 85.58 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.4316, allocations: 55.41 kB / 1.328 GB, free: 15.43 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.4317, allocations: 97.84 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4317, allocations: 25.7 kB / 1.328 GB, free: 15.29 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.437e-05/0.4318, allocations: 84.14 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.4318, allocations: 3.953 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.4318, allocations: 13.72 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.432, allocations: 319 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.285e-05/0.4321, allocations: 19.98 kB / 1.328 GB, free: 14.84 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.752e-05/0.4322, allocations: 15.98 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.4323, allocations: 36.83 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.4323, allocations: 3.938 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002143/0.4326, allocations: 73.66 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.4326, allocations: 4 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.4326, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4326, allocations: 3.938 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.662e-05/0.4327, allocations: 11.98 kB / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.4327, allocations: 0 / 1.328 GB, free: 14.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.4327, allocations: 7.984 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.4328, allocations: 0 / 1.328 GB, free: 14.68 MB / 1.029 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 9.899e-05/0.4328, allocations: 114.3 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.4329, allocations: 11.98 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002386/0.4331, allocations: 68.91 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.4331, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.4331, allocations: 0 / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4331, allocations: 4.188 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001821/0.4333, allocations: 128.7 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.4333, allocations: 4 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.252e-05/0.4334, allocations: 7.984 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.4334, allocations: 8.016 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.4334, allocations: 4 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.4334, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.4334, allocations: 0 / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002593/0.4337, allocations: 163.5 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.4337, allocations: 0 / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.4337, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.4337, allocations: 3.984 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.4338, allocations: 7.938 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.4338, allocations: 8.031 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.323e-05/0.4339, allocations: 87.2 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4339, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000235/0.4341, allocations: 11.94 kB / 1.329 GB, free: 13.98 MB / 1.029 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.0007326/0.4348, allocations: 0.7163 MB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002268/0.435, allocations: 35.91 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.435, allocations: 4 kB / 1.33 GB, free: 13.19 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.234e-05/0.4351, allocations: 15.98 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.4355, allocations: 7.984 kB / 1.33 GB, free: 13.17 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.436, allocations: 151 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.358e-05/0.436, allocations: 59.48 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.442e-05/0.4361, allocations: 3.984 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.4361, allocations: 15.44 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of SimCode: time 4.01e-07/0.4361, allocations: 0 / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0354/0.4715, allocations: 2.036 MB / 1.332 GB, free: 10.98 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.53, allocations: 4.047 kB / 1.332 GB, free: 10.98 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --stepSize=0.001196 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.718136969022453]