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.001179/0.001179, 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.0009992/0.0009992, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9129/0.9129, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.772/1.772, allocations: 377.9 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.002e-06/1.002e-06, allocations: 0 / 0.981 GB, free: 2.562 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.272e-05, allocations: 2.281 kB / 0.981 GB, free: 2.559 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001597/0.00161, allocations: 1.456 MB / 0.9824 GB, free: 1.094 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.001906, allocations: 151.4 kB / 0.9825 GB, free: 0.9453 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.283e-05/0.001929, allocations: 4 kB / 0.9825 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.44e-05/0.001953, allocations: 0 / 0.9825 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.001989, allocations: 7.938 kB / 0.9825 GB, free: 0.9336 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.002289, allocations: 39.78 kB / 0.9826 GB, free: 0.8945 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.358e-05/0.002342, allocations: 23.92 kB / 0.9826 GB, free: 0.8711 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 7.506e-05/0.002417, allocations: 11.98 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 3.064e-05/0.002448, allocations: 11.98 kB / 0.9826 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 2.794e-05/0.002476, allocations: 7.984 kB / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.002488, allocations: 0 / 0.9826 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 9.325e-05/0.002581, allocations: 39.91 kB / 0.9827 GB, free: 0.8008 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 9.759e-06/0.002591, allocations: 3.984 kB / 0.9827 GB, free: 0.7969 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.514e-05/0.002606, allocations: 8 kB / 0.9827 GB, free: 0.7891 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.002719, allocations: 55.8 kB / 0.9827 GB, free: 0.7344 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.002721, allocations: 4 kB / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of FrontEnd: time 6.91e-07/0.002722, allocations: 0 / 0.9827 GB, free: 0.7305 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.002726, allocations: 0 / 0.9827 GB, free: 0.7305 MB / 0.9323 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.0002949/0.00302, allocations: 270.2 kB / 0.983 GB, free: 444 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.003054, allocations: 8.031 kB / 0.983 GB, free: 436 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.468e-05/0.003079, allocations: 34.75 kB / 0.983 GB, free: 392 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.00311, allocations: 8.891 kB / 0.983 GB, free: 384 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.447e-05/0.003175, allocations: 109.8 kB / 0.9832 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/0.003183, allocations: 384 / 0.9832 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.003189, allocations: 384 / 0.9832 GB, free: 248 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.00331, allocations: 50.25 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.003316, allocations: 192 / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.605e-06/0.003323, allocations: 4.359 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.003328, allocations: 4.125 kB / 0.9832 GB, free: 184 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.628e-05/0.003415, allocations: 43.83 kB / 0.9833 GB, free: 140 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.003654, allocations: 220 kB / 0.9835 GB, free: 15.88 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.962e-05/0.003723, allocations: 34.56 kB / 0.9835 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.328e-05/0.003767, allocations: 28.91 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-05/0.003859, allocations: 7.984 kB / 0.9835 GB, free: 15.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.003878, allocations: 38.44 kB / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.003879, allocations: 0 / 0.9836 GB, free: 15.75 MB / 0.948 GB Notification: Performance of matching and sorting (n=2): time 0.000203/0.004082, allocations: 81.64 kB / 0.9836 GB, free: 15.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.487e-05/0.004106, allocations: 51.53 kB / 0.9837 GB, free: 15.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.648e-05/0.004153, allocations: 105.8 kB / 0.9838 GB, free: 15.49 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/0.004164, allocations: 25.7 kB / 0.9838 GB, free: 15.46 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.224e-05/0.004197, allocations: 88.09 kB / 0.9839 GB, free: 15.37 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.00421, allocations: 3.953 kB / 0.9839 GB, free: 15.36 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.004232, allocations: 17.72 kB / 0.9839 GB, free: 15.34 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.004299, allocations: 314.8 kB / 0.9842 GB, free: 15.02 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.796e-05/0.004337, allocations: 11.98 kB / 0.9842 GB, free: 15.01 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.371e-05/0.004371, allocations: 19.98 kB / 0.9843 GB, free: 14.99 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.246e-05/0.004443, allocations: 40.83 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.004446, allocations: 3.984 kB / 0.9843 GB, free: 14.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.7e-05/0.004543, allocations: 65.61 kB / 0.9844 GB, free: 14.88 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.056e-05/0.004553, allocations: 4 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.004557, allocations: 4 kB / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.004566, allocations: 0 / 0.9844 GB, free: 14.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.004604, allocations: 12.02 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.004607, allocations: 3.938 kB / 0.9844 GB, free: 14.85 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.067e-05/0.004628, allocations: 7.984 kB / 0.9844 GB, free: 14.84 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.537e-06/0.004632, allocations: 0 / 0.9844 GB, free: 14.84 MB / 0.948 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.428e-05/0.004676, allocations: 113.8 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.004693, allocations: 3.938 kB / 0.9845 GB, free: 14.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.004808, allocations: 76.91 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.91e-07/0.004809, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.004812, allocations: 4.031 kB / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.004814, allocations: 0 / 0.9846 GB, free: 14.64 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.617e-05/0.004901, allocations: 120.8 kB / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-07/0.004901, allocations: 0 / 0.9847 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.137e-05/0.004922, allocations: 11.98 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.004924, allocations: 3.938 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.00493, allocations: 4 kB / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.00493, allocations: 0 / 0.9847 GB, free: 14.46 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.004931, allocations: 4 kB / 0.9847 GB, free: 14.45 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.00505, allocations: 171.4 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-06/0.005055, allocations: 3.938 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.294e-06/0.005062, allocations: 3.938 kB / 0.9849 GB, free: 14.26 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.546e-05/0.005107, allocations: 7.984 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.674e-05/0.005134, allocations: 0 / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.005137, allocations: 4 kB / 0.9849 GB, free: 14.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 2.233e-05/0.00516, allocations: 83.27 kB / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.00516, allocations: 0 / 0.985 GB, free: 14.17 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001553/0.005315, allocations: 15.94 kB / 0.985 GB, free: 14.15 MB / 0.948 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.0003155/0.005631, allocations: 0.7076 MB / 0.9857 GB, free: 13.42 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001088/0.005739, allocations: 35.91 kB / 0.9857 GB, free: 13.39 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.00574, allocations: 96 / 0.9857 GB, free: 13.39 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.005778, allocations: 23.98 kB / 0.9857 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.005945, allocations: 7.984 kB / 0.9858 GB, free: 13.36 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.006226, allocations: 130.5 kB / 0.9859 GB, free: 13.19 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.727e-05/0.006263, allocations: 63.28 kB / 0.9859 GB, free: 13.11 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 1.496e-05/0.006278, allocations: 7.984 kB / 0.9859 GB, free: 13.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.451e-05/0.006302, allocations: 12.5 kB / 0.986 GB, free: 13.09 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/0.006303, allocations: 0 / 0.986 GB, free: 13.09 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.02047, allocations: 2.188 MB / 0.9881 GB, free: 11.02 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.034, allocations: 1.172 kB / 0.9881 GB, free: 11.02 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 11.107323661446571]