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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008042/0.008042, allocations: 100.8 kB / 15.73 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 191.2 kB / 16.67 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.753/2.753, allocations: 437 MB / 0.7105 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.91 kB / 1.018 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3171, allocations: 151.6 MB / 1.166 GB, free: 7.285 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003432/0.3205, allocations: 1.418 MB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0006597/0.3212, allocations: 172.2 kB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.365e-05/0.3213, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.966e-05/0.3214, allocations: 0 / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/0.3215, allocations: 3.938 kB / 1.168 GB, free: 5.676 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.322, allocations: 39.91 kB / 1.168 GB, free: 5.637 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 9.831e-05/0.3221, allocations: 23.92 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3222, allocations: 4 kB / 1.168 GB, free: 5.609 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.939e-05/0.3223, allocations: 7.984 kB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.897e-05/0.3224, allocations: 15.92 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.988e-05/0.3224, allocations: 4 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.3226, allocations: 39.91 kB / 1.168 GB, free: 5.543 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.497e-05/0.3227, allocations: 3.984 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.3227, allocations: 11.94 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002262/0.323, allocations: 48.09 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.323, allocations: 7.938 kB / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.474e-06/0.323, allocations: 0 / 1.168 GB, free: 5.473 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.323, allocations: 0 / 1.168 GB, free: 5.473 MB / 0.92 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.0006599/0.3237, allocations: 347.4 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.603e-05/0.3237, allocations: 8.031 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.814e-05/0.3238, allocations: 30.75 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.157e-05/0.3239, allocations: 4.938 kB / 1.168 GB, free: 5.031 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.3241, allocations: 168.3 kB / 1.168 GB, free: 4.828 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.3241, allocations: 4.375 kB / 1.168 GB, free: 4.824 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.3241, allocations: 8.375 kB / 1.168 GB, free: 4.816 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3243, allocations: 42.23 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3243, allocations: 3.938 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.3244, allocations: 8 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.3244, allocations: 0 / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.3245, allocations: 31.95 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.325, allocations: 245 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.3252, allocations: 46.42 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.324e-05/0.3253, allocations: 24.91 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.3255, allocations: 89.09 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.3255, allocations: 34.56 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.3255, allocations: 0 / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=2): time 0.0004249/0.326, allocations: 77.64 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.326, allocations: 63.28 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.255e-05/0.3261, allocations: 93.86 kB / 1.169 GB, free: 3.949 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.3261, allocations: 25.7 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.3262, allocations: 96.2 kB / 1.169 GB, free: 3.82 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.3262, allocations: 7.938 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.679e-05/0.3263, allocations: 9.719 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3264, allocations: 318.8 kB / 1.17 GB, free: 3.477 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.321e-05/0.3265, allocations: 11.98 kB / 1.17 GB, free: 3.465 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.651e-05/0.3266, allocations: 19.97 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.3268, allocations: 40.89 kB / 1.17 GB, free: 3.402 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.3268, allocations: 3.938 kB / 1.17 GB, free: 3.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002212/0.327, allocations: 73.55 kB / 1.17 GB, free: 3.32 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/0.327, allocations: 5.875 kB / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.327, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3271, allocations: 0 / 1.17 GB, free: 3.316 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.58e-05/0.3272, allocations: 11.98 kB / 1.17 GB, free: 3.305 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3272, allocations: 4.031 kB / 1.17 GB, free: 3.301 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.3272, allocations: 4 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.66e-06/0.3272, allocations: 0 / 1.17 GB, free: 3.297 MB / 0.92 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 8.342e-05/0.3273, allocations: 113.8 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.3274, allocations: 12.11 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.3276, allocations: 64.78 kB / 1.17 GB, free: 3.094 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.3276, allocations: 8.016 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.3277, allocations: 4 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3277, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.3279, allocations: 157.6 kB / 1.17 GB, free: 2.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3279, allocations: 3.938 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.857e-05/0.3279, allocations: 7.984 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3279, allocations: 0 / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.328, allocations: 4 kB / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.328, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.328, allocations: 0 / 1.17 GB, free: 2.863 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002736/0.3282, allocations: 167.5 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.3283, allocations: 81.06 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3283, allocations: 0 / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.705e-05/0.3284, allocations: 7.984 kB / 1.17 GB, free: 2.578 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.3284, allocations: 3.938 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.3285, allocations: 8.031 kB / 1.17 GB, free: 2.566 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.909e-05/0.3285, allocations: 83.27 kB / 1.17 GB, free: 2.484 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3285, allocations: 0 / 1.17 GB, free: 2.484 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002459/0.3288, allocations: 15.94 kB / 1.171 GB, free: 2.469 MB / 0.92 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.0006617/0.3294, allocations: 0.7124 MB / 1.171 GB, free: 1.727 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002162/0.3297, allocations: 31.97 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.3297, allocations: 4 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 8.648e-05/0.3298, allocations: 19.98 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.3301, allocations: 16.05 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.3306, allocations: 131 kB / 1.171 GB, free: 1.488 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.3309, allocations: 0.6768 MB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.912e-05/0.3309, allocations: 7.984 kB / 1.172 GB, free: 0.7773 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.331, allocations: 11.44 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of SimCode: time 3.5e-07/0.331, allocations: 0 / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0173/0.3483, allocations: 1.506 MB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.156, allocations: 11.95 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB (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 50 --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) 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) Reference file matches