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.001307/0.001307, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00155/0.00155, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.506/1.506, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.37/3.37, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="cs",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.001991/0.001991, allocations: 64.78 kB / 1.155 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.419, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.004104/0.4231, allocations: 1.473 MB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0006463/0.4237, allocations: 147.6 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.4238, allocations: 0 / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.641e-05/0.4238, allocations: 7.938 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.442e-05/0.4238, allocations: 0 / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.4243, allocations: 39.84 kB / 1.328 GB, free: 15.81 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.4244, allocations: 23.92 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.4245, allocations: 0 / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.953e-05/0.4246, allocations: 19.91 kB / 1.328 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.836e-05/0.4246, allocations: 7.938 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.4246, allocations: 0 / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001662/0.4248, allocations: 43.95 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.539e-05/0.4248, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.4249, allocations: 11.98 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.425, allocations: 56.03 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.425, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/0.425, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.4251, allocations: 0 / 1.328 GB, free: 15.65 MB / 1.029 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.0005305/0.4256, allocations: 267.8 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4256, allocations: 8.031 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.999e-05/0.4257, allocations: 4.188 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.4257, allocations: 30.75 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.4258, allocations: 0.9375 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.4259, allocations: 114.5 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.4259, allocations: 8.375 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.4259, allocations: 4.312 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002947/0.4262, allocations: 57.92 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.4262, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.4262, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4262, allocations: 0 / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.4264, allocations: 35.95 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.4268, allocations: 223.9 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.427, allocations: 38.56 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.025e-05/0.4271, allocations: 24.89 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.4272, allocations: 11.94 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.4273, allocations: 30.56 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.4273, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0004414/0.4277, allocations: 81.73 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.4278, allocations: 51.41 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.947e-05/0.4279, allocations: 101.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.4279, allocations: 29.7 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.428, allocations: 84.14 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.06e-05/0.428, allocations: 3.953 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.428, allocations: 13.72 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4282, allocations: 314.8 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.533e-05/0.4283, allocations: 15.98 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.4283, allocations: 23.95 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.4285, allocations: 44.75 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.4285, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002185/0.4287, allocations: 57.67 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.4287, allocations: 8 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.4288, allocations: 4.094 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.4288, allocations: 3.984 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.806e-05/0.4289, allocations: 4 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4289, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/0.4289, allocations: 7.984 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.4289, allocations: 4 kB / 1.33 GB, free: 13.77 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.237e-05/0.429, allocations: 114.2 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.4291, allocations: 3.953 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002435/0.4293, allocations: 76.97 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.4293, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.4293, allocations: 7.922 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.4293, allocations: 4 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.4295, allocations: 128.7 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4295, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.042e-05/0.4296, allocations: 11.98 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4296, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.4296, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4296, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4296, allocations: 4.031 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002886/0.4299, allocations: 171.4 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.586e-06/0.4299, allocations: 0 / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.4299, allocations: 3.984 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.151e-05/0.43, allocations: 7.938 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.401e-05/0.43, allocations: 0 / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.427e-06/0.43, allocations: 7.984 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.666e-05/0.43, allocations: 79.28 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.43, allocations: 8.031 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002438/0.4303, allocations: 11.94 kB / 1.331 GB, free: 13.06 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.0008251/0.4311, allocations: 0.7123 MB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002481/0.4314, allocations: 36 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.4314, allocations: 0 / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.301e-05/0.4315, allocations: 23.97 kB / 1.331 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.4319, allocations: 7.984 kB / 1.331 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005619/0.4324, allocations: 147.1 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.4325, allocations: 63.28 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.751e-05/0.4326, allocations: 128 / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.4326, allocations: 19.44 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.4326, allocations: 0 / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02968/0.4623, allocations: 1.672 MB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.66, allocations: 17.64 kB / 1.333 GB, free: 10.43 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.82522171502933]