Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001136/0.001136, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.945/2.945, allocations: 462.6 MB / 0.736 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003598/0.0003598, allocations: 9.219 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3898, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001759/0.3916, allocations: 1.152 MB / 1.059 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004706/0.3921, allocations: 151.7 kB / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.3921, allocations: 0 / 1.059 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.79e-05/0.3922, allocations: 3.938 kB / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.418e-05/0.3922, allocations: 0 / 1.059 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003065/0.3925, allocations: 31.91 kB / 1.059 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.321e-05/0.3926, allocations: 19.94 kB / 1.059 GB, free: 3.898 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.687e-05/0.3927, allocations: 7.984 kB / 1.059 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.673e-05/0.3928, allocations: 7.984 kB / 1.059 GB, free: 3.883 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.3928, allocations: 15.92 kB / 1.059 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.3928, allocations: 0 / 1.059 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.393, allocations: 39.91 kB / 1.059 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.096e-05/0.393, allocations: 4 kB / 1.059 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.039e-05/0.3931, allocations: 25.7 kB / 1.059 GB, free: 3.793 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001277/0.3932, allocations: 27.94 kB / 1.059 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.3932, allocations: 4 kB / 1.059 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.686e-06/0.3932, allocations: 0 / 1.059 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.129e-06/0.3932, allocations: 0 / 1.059 GB, free: 3.762 MB / 0.8106 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.0004889/0.3937, allocations: 351.5 kB / 1.06 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3938, allocations: 8.031 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.3938, allocations: 0 / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.394, allocations: 171 kB / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.394, allocations: 0 / 1.06 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.394, allocations: 3.953 kB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.3942, allocations: 57.62 kB / 1.06 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3942, allocations: 3.984 kB / 1.06 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.3942, allocations: 3.938 kB / 1.06 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3943, allocations: 4 kB / 1.06 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.3944, allocations: 47.91 kB / 1.06 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.3947, allocations: 252.9 kB / 1.06 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001214/0.3949, allocations: 42.5 kB / 1.06 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.022e-05/0.395, allocations: 32.89 kB / 1.06 GB, free: 2.648 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.3951, allocations: 85.09 kB / 1.06 GB, free: 2.547 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.58e-05/0.3952, allocations: 38.56 kB / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.3952, allocations: 0 / 1.061 GB, free: 2.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003562/0.3955, allocations: 93.64 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.3956, allocations: 51.41 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.861e-05/0.3957, allocations: 105.8 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/0.3957, allocations: 25.7 kB / 1.061 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.3957, allocations: 88.2 kB / 1.061 GB, free: 2.105 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.3958, allocations: 7.906 kB / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.3958, allocations: 0 / 1.061 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3959, allocations: 314.8 kB / 1.061 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.119e-05/0.396, allocations: 23.97 kB / 1.061 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.3961, allocations: 23.98 kB / 1.061 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.76e-05/0.3961, allocations: 23.94 kB / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3962, allocations: 0 / 1.061 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001973/0.3964, allocations: 77.72 kB / 1.061 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3964, allocations: 8 kB / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.3964, allocations: 0 / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3964, allocations: 0 / 1.061 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.176e-05/0.3965, allocations: 11.98 kB / 1.061 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3965, allocations: 0 / 1.061 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.556e-05/0.3966, allocations: 8.031 kB / 1.061 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.3966, allocations: 4 kB / 1.061 GB, free: 1.598 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.3966, allocations: 113.7 kB / 1.061 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.3967, allocations: 11.89 kB / 1.061 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.3969, allocations: 80.78 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.3969, allocations: 0 / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3969, allocations: 4 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3969, allocations: 0 / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.3971, allocations: 153.7 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.3971, allocations: 3.953 kB / 1.062 GB, free: 1.176 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.3972, allocations: 11.98 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3972, allocations: 3.938 kB / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.3972, allocations: 0 / 1.062 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3972, allocations: 4.031 kB / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3972, allocations: 0 / 1.062 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.3975, allocations: 179.4 kB / 1.062 GB, free: 0.9648 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.3975, allocations: 89.03 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.3975, allocations: 3.984 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-05/0.3976, allocations: 8 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3977, allocations: 0 / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.3977, allocations: 3.984 kB / 1.062 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.837e-05/0.3977, allocations: 83.28 kB / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.3977, allocations: 0 / 1.062 GB, free: 0.7617 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002399/0.398, allocations: 16 kB / 1.062 GB, free: 0.7461 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001748/0.3981, allocations: 111.2 kB / 1.062 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.3984, allocations: 43.91 kB / 1.062 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3984, allocations: 4.062 kB / 1.062 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 8.133e-05/0.3985, allocations: 23.98 kB / 1.062 GB, free: 0.5547 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.3987, allocations: 7.984 kB / 1.062 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002621/0.399, allocations: 108.6 kB / 1.062 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002363/0.3993, allocations: 0.681 MB / 1.063 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.318e-05/0.3993, allocations: 4 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.782e-05/0.3993, allocations: 7.438 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.3993, allocations: 0 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of Templates: time 0.002697/0.402, allocations: 0.5736 MB / 1.064 GB, free: 15.13 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches