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: translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1") translateModel(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|E1.y",fileNamePrefix="Buildings_9_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.006612/0.006612, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001294/0.001294, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.482/2.482, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00193/0.001931, allocations: 64.03 kB / 0.9508 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.405, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003515/0.4086, allocations: 1.43 MB / 1.089 GB, free: 36 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0005918/0.4092, allocations: 164.7 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.535e-05/0.4093, allocations: 0 / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.793e-05/0.4093, allocations: 7.875 kB / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.833e-05/0.4094, allocations: 0 / 1.089 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.4099, allocations: 43.83 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.605e-05/0.41, allocations: 15.98 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.4101, allocations: 8 kB / 1.09 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.4102, allocations: 15.86 kB / 1.09 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.286e-05/0.4102, allocations: 8 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.483e-05/0.4102, allocations: 7.938 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001598/0.4104, allocations: 39.95 kB / 1.09 GB, free: 15.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.4104, allocations: 7.984 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.4105, allocations: 7.938 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.4106, allocations: 43.88 kB / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4107, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4107, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.4107, allocations: 0 / 1.09 GB, free: 15.67 MB / 0.8575 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.0005556/0.4112, allocations: 347.5 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4113, allocations: 15.95 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.607e-05/0.4114, allocations: 4.844 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.4115, allocations: 164.4 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.674e-05/0.4115, allocations: 4.375 kB / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.4116, allocations: 384 / 1.09 GB, free: 15.05 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.4118, allocations: 50.23 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.4118, allocations: 192 / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.4118, allocations: 3.938 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.4118, allocations: 8 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001588/0.412, allocations: 35.89 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.4124, allocations: 241 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.4125, allocations: 38.5 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.073e-05/0.4126, allocations: 32.88 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001862/0.4128, allocations: 85.11 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/0.4128, allocations: 34.55 kB / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.4128, allocations: 0 / 1.091 GB, free: 14.44 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0003845/0.4132, allocations: 81.72 kB / 1.091 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.4133, allocations: 59.39 kB / 1.091 GB, free: 14.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.991e-05/0.4134, allocations: 93.86 kB / 1.091 GB, free: 14.18 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.4134, allocations: 25.7 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.515e-05/0.4135, allocations: 88.05 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-05/0.4135, allocations: 4 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/0.4135, allocations: 13.7 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4137, allocations: 318.8 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.961e-05/0.4137, allocations: 15.98 kB / 1.091 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.4138, allocations: 15.98 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.414, allocations: 48.69 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.414, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002069/0.4142, allocations: 73.58 kB / 1.091 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.4142, allocations: 7.984 kB / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/0.4142, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.4143, allocations: 0 / 1.091 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.4143, allocations: 8 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4144, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.4144, allocations: 11.98 kB / 1.092 GB, free: 13.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.403e-06/0.4144, allocations: 0 / 1.092 GB, free: 13.53 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 7.891e-05/0.4145, allocations: 117.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.4146, allocations: 8 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002184/0.4148, allocations: 76.64 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4148, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.4148, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4148, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.415, allocations: 161.6 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.415, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.369e-05/0.4151, allocations: 8.016 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.4151, allocations: 4 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.4151, allocations: 0 / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.4151, allocations: 4 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4151, allocations: 0 / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.4154, allocations: 167.4 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.4154, allocations: 81.05 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.4155, allocations: 4 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.914e-05/0.4155, allocations: 7.984 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.919e-05/0.4156, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.4156, allocations: 0 / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.752e-05/0.4156, allocations: 87.27 kB / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4156, allocations: 0 / 1.092 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002376/0.4159, allocations: 12 kB / 1.092 GB, free: 12.71 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.0002291/0.4161, allocations: 111.8 kB / 1.092 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002095/0.4163, allocations: 35.95 kB / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4163, allocations: 0 / 1.092 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.244e-05/0.4164, allocations: 23.92 kB / 1.092 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003748/0.4168, allocations: 12.06 kB / 1.092 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.4173, allocations: 105.6 kB / 1.092 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.4176, allocations: 0.6768 MB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.642e-05/0.4176, allocations: 0 / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.4177, allocations: 15.38 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.4177, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of Templates: time 0.003527/0.4212, allocations: 0.6463 MB / 1.094 GB, free: 11.03 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.makefile (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 & ./Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_ExponentialIntegralE1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches