Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_9_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.00764/0.00764, allocations: 105.5 kB / 15.74 MB, free: 6.488 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.001902/0.001902, allocations: 196 kB / 16.68 MB, free: 6.375 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.359/2.359, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 58.97 kB / 0.9504 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2464, allocations: 140.4 MB / 1.087 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002678/0.2491, allocations: 1.422 MB / 1.089 GB, free: 0.5469 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0004379/0.2496, allocations: 164.3 kB / 1.089 GB, free: 392 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.242e-05/0.2496, allocations: 3.938 kB / 1.089 GB, free: 388 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.197e-05/0.2497, allocations: 3.984 kB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-05/0.2497, allocations: 3.938 kB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003268/0.2501, allocations: 39.89 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.2501, allocations: 23.88 kB / 1.089 GB, free: 316 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.6e-05/0.2502, allocations: 7.984 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.2503, allocations: 12 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.2503, allocations: 11.92 kB / 1.089 GB, free: 284 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.182e-05/0.2503, allocations: 4 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.2505, allocations: 43.89 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.206e-05/0.2505, allocations: 4 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.276e-05/0.2505, allocations: 7.938 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.2507, allocations: 47.86 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2507, allocations: 0 / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2507, allocations: 0 / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2507, allocations: 0 / 1.089 GB, free: 176 kB / 0.8419 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.0004253/0.2511, allocations: 346.4 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.2512, allocations: 8.031 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.364e-05/0.2512, allocations: 34.75 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.595e-05/0.2513, allocations: 4.844 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.2514, allocations: 164.4 kB / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2514, allocations: 384 / 1.09 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.698e-06/0.2514, allocations: 12.31 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.2516, allocations: 46.23 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.2516, allocations: 7.938 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.2516, allocations: 4 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.2516, allocations: 0 / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001687/0.2518, allocations: 31.97 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.2521, allocations: 245 kB / 1.09 GB, free: 15.14 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001406/0.2523, allocations: 46.44 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.122e-05/0.2524, allocations: 16.91 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001769/0.2526, allocations: 93.08 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.2526, allocations: 30.56 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.2526, allocations: 0 / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003806/0.253, allocations: 81.64 kB / 1.09 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.253, allocations: 55.41 kB / 1.09 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.422e-05/0.2531, allocations: 105.8 kB / 1.09 GB, free: 14.65 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.2531, allocations: 25.7 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.311e-05/0.2532, allocations: 88.05 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.757e-05/0.2532, allocations: 0.8438 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.2533, allocations: 13.72 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.2534, allocations: 323 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.367e-05/0.2535, allocations: 15.92 kB / 1.091 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.881e-05/0.2535, allocations: 19.98 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.2537, allocations: 40.77 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2537, allocations: 3.938 kB / 1.091 GB, free: 14.1 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002185/0.2539, allocations: 73.62 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.254, allocations: 4 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.254, allocations: 3.938 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.254, allocations: 4 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.002e-05/0.2541, allocations: 7.984 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2541, allocations: 0 / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.405e-05/0.2541, allocations: 11.92 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.41e-06/0.2542, allocations: 0 / 1.091 GB, free: 13.99 MB / 0.8575 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 6.744e-05/0.2542, allocations: 117.8 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.2543, allocations: 0 / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.2545, allocations: 72.78 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2545, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2545, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-06/0.2545, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2547, allocations: 161.6 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.2547, allocations: 4.031 kB / 1.091 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.046e-05/0.2548, allocations: 15.92 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2548, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.2548, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.2548, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.2548, allocations: 0 / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000249/0.255, allocations: 167.5 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.516e-05/0.2551, allocations: 81.02 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.169e-05/0.2551, allocations: 0 / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.723e-05/0.2552, allocations: 7.984 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.616e-05/0.2552, allocations: 4 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.537e-06/0.2552, allocations: 0 / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.777e-05/0.2553, allocations: 83.28 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.2553, allocations: 0 / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002385/0.2555, allocations: 8 kB / 1.092 GB, free: 13.18 MB / 0.8575 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.0005956/0.2561, allocations: 0.7163 MB / 1.092 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002289/0.2564, allocations: 43.98 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2564, allocations: 3.938 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.16e-05/0.2565, allocations: 23.92 kB / 1.093 GB, free: 12.37 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.2568, allocations: 5.5 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004387/0.2573, allocations: 135.3 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002559/0.2575, allocations: 0.6808 MB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.93e-05/0.2576, allocations: 4 kB / 1.093 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.2576, allocations: 11.44 kB / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.2576, allocations: 0 / 1.093 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0171/0.2747, allocations: 1.506 MB / 1.095 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.25/7.525, allocations: 18.5 kB / 1.095 GB, free: 10.05 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches