Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.331/2.331, allocations: 443.5 MB / 0.7304 GB, free: 13.86 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 67.89 kB / 1.059 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2587, allocations: 160.7 MB / 1.216 GB, free: 15.9 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002484/0.2612, allocations: 1.447 MB / 1.217 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0004008/0.2616, allocations: 164.3 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.555e-05/0.2617, allocations: 0 / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.153e-05/0.2617, allocations: 0 / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.987e-05/0.2617, allocations: 7.938 kB / 1.217 GB, free: 14.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000267/0.262, allocations: 35.89 kB / 1.217 GB, free: 14.22 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.262, allocations: 19.92 kB / 1.217 GB, free: 14.2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 6.981e-05/0.2621, allocations: 12 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.746e-05/0.2622, allocations: 7.984 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.302e-05/0.2622, allocations: 7.938 kB / 1.217 GB, free: 14.18 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.2622, allocations: 4 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.2623, allocations: 51.88 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.2623, allocations: 4 kB / 1.217 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 1.994e-05/0.2624, allocations: 3.938 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.2625, allocations: 52.08 kB / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2625, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2625, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.2625, allocations: 0 / 1.217 GB, free: 14.06 MB / 0.9669 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.0004111/0.2629, allocations: 351.4 kB / 1.218 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2629, allocations: 8.031 kB / 1.218 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.263, allocations: 38.75 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.263, allocations: 0.9375 kB / 1.218 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2631, allocations: 168.3 kB / 1.218 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.2631, allocations: 8.359 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.2631, allocations: 4.312 kB / 1.218 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.2633, allocations: 54.23 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2633, allocations: 3.938 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.773e-06/0.2633, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.2633, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.2635, allocations: 35.95 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002848/0.2638, allocations: 244.9 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.2639, allocations: 50.47 kB / 1.218 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.366e-05/0.264, allocations: 20.91 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001554/0.2641, allocations: 85.09 kB / 1.218 GB, free: 12.83 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.2642, allocations: 30.56 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2642, allocations: 0 / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003505/0.2645, allocations: 85.64 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.2645, allocations: 51.41 kB / 1.218 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.413e-05/0.2646, allocations: 105.8 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.2646, allocations: 33.64 kB / 1.219 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.2647, allocations: 80.14 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.2647, allocations: 3.953 kB / 1.219 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.338e-05/0.2647, allocations: 17.72 kB / 1.219 GB, free: 12.38 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.2648, allocations: 315 kB / 1.219 GB, free: 12.06 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.012e-05/0.2649, allocations: 15.97 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.585e-05/0.265, allocations: 19.98 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.2651, allocations: 32.83 kB / 1.219 GB, free: 11.99 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.2651, allocations: 3.938 kB / 1.219 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002036/0.2654, allocations: 73.67 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.2654, allocations: 4 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.2654, allocations: 3.938 kB / 1.219 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.2654, allocations: 4 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.477e-05/0.2655, allocations: 7.984 kB / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.2655, allocations: 0 / 1.219 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.43e-05/0.2655, allocations: 7.984 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.2655, allocations: 8.016 kB / 1.219 GB, free: 11.87 MB / 0.9669 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 7.736e-05/0.2656, allocations: 117.8 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.501e-05/0.2656, allocations: 0 / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002067/0.2658, allocations: 64.78 kB / 1.219 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.2658, allocations: 4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.2658, allocations: 0 / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2658, allocations: 4 kB / 1.219 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.266, allocations: 165.6 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.266, allocations: 0 / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.428e-05/0.2661, allocations: 15.88 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.2661, allocations: 4 kB / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2661, allocations: 0 / 1.22 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2661, allocations: 3.984 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2661, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.2663, allocations: 163.5 kB / 1.22 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.019e-05/0.2664, allocations: 81.06 kB / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.2664, allocations: 0 / 1.22 GB, free: 11.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.161e-05/0.2664, allocations: 8 kB / 1.22 GB, free: 11.15 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.338e-05/0.2665, allocations: 7.984 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.2665, allocations: 0 / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.529e-05/0.2665, allocations: 87.39 kB / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.2665, allocations: 0 / 1.22 GB, free: 11.06 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002177/0.2667, allocations: 15.97 kB / 1.22 GB, free: 11.04 MB / 0.9669 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.0005782/0.2673, allocations: 0.7124 MB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.2675, allocations: 35.97 kB / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.2675, allocations: 0 / 1.221 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.2676, allocations: 23.91 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.2678, allocations: 4 kB / 1.221 GB, free: 10.24 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003748/0.2682, allocations: 140.2 kB / 1.221 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002587/0.2685, allocations: 0.6768 MB / 1.221 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.85e-05/0.2685, allocations: 0 / 1.221 GB, free: 9.359 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.4e-05/0.2685, allocations: 11.44 kB / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of SimCode: time 3.8e-07/0.2685, allocations: 0 / 1.221 GB, free: 9.348 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.2899, allocations: 1.5 MB / 1.223 GB, free: 7.926 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.264, allocations: 4.594 kB / 1.223 GB, free: 7.926 MB / 0.9669 GB " [Timeout remaining time 293] (rm -f Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv --start-time 0.01 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001196 Buildings_10_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 12.4997082819973]