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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_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.01103/0.01103, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.002648/0.002649, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.625/2.625, allocations: 461.9 MB / 0.7348 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.91 kB / 1.054 GB, free: 8.176 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9116/0.913, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.003864/0.9169, allocations: 1.435 MB / 1.209 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0005344/0.9175, allocations: 163.5 kB / 1.209 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.412e-05/0.9175, allocations: 4 kB / 1.209 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.733e-05/0.9176, allocations: 7.875 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.413e-05/0.9177, allocations: 4 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.9181, allocations: 35.84 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.9182, allocations: 15.98 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.9183, allocations: 12 kB / 1.209 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.9184, allocations: 15.91 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.473e-05/0.9185, allocations: 8 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.9185, allocations: 0 / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.9187, allocations: 47.89 kB / 1.209 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.9187, allocations: 7.938 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.9187, allocations: 0 / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00018/0.9189, allocations: 51.86 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.9189, allocations: 4 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.295e-06/0.9189, allocations: 0 / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.919, allocations: 0 / 1.209 GB, free: 11.77 MB / 0.9356 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.0006084/0.9196, allocations: 337.7 kB / 1.209 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.9196, allocations: 12.03 kB / 1.209 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.26e-05/0.9197, allocations: 42.69 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.388e-05/0.9198, allocations: 0.9375 kB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.92, allocations: 164.4 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.92, allocations: 384 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.92, allocations: 384 / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.9203, allocations: 50.23 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.9203, allocations: 3.938 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.9203, allocations: 0 / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.9203, allocations: 3.938 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001808/0.9205, allocations: 39.95 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004324/0.9209, allocations: 248.8 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.9211, allocations: 42.53 kB / 1.21 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.011e-05/0.9212, allocations: 20.91 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/0.9214, allocations: 89.09 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.9215, allocations: 34.56 kB / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.9215, allocations: 0 / 1.21 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0004036/0.9219, allocations: 85.48 kB / 1.21 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/0.9219, allocations: 55.41 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.922, allocations: 102 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.922, allocations: 25.7 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.076e-05/0.9221, allocations: 84.12 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.9221, allocations: 3.906 kB / 1.21 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.66e-05/0.9222, allocations: 17.72 kB / 1.21 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.9223, allocations: 310.8 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.553e-05/0.9224, allocations: 15.98 kB / 1.211 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.303e-05/0.9225, allocations: 27.91 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/0.9227, allocations: 36.83 kB / 1.211 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.9227, allocations: 3.938 kB / 1.211 GB, free: 9.699 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002238/0.9229, allocations: 65.78 kB / 1.211 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.9229, allocations: 8 kB / 1.211 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.923, allocations: 4.094 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.923, allocations: 0 / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.9231, allocations: 15.97 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.113e-05/0.9231, allocations: 4 kB / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.612e-05/0.9232, allocations: 0 / 1.211 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.9232, allocations: 4 kB / 1.211 GB, free: 9.594 MB / 0.9356 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 9.162e-05/0.9233, allocations: 117.8 kB / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.623e-05/0.9233, allocations: 0 / 1.211 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.9236, allocations: 80.72 kB / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9236, allocations: 0 / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.9236, allocations: 0 / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.9236, allocations: 0 / 1.211 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.9238, allocations: 161.6 kB / 1.211 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.9238, allocations: 3.984 kB / 1.211 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.585e-05/0.9239, allocations: 11.94 kB / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.9239, allocations: 0 / 1.211 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.825e-06/0.9239, allocations: 4.031 kB / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.9239, allocations: 0 / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9239, allocations: 0 / 1.211 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.9242, allocations: 163.4 kB / 1.211 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.209e-05/0.9242, allocations: 85.09 kB / 1.211 GB, free: 8.879 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.9243, allocations: 4 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.9244, allocations: 11.97 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.313e-05/0.9244, allocations: 3.984 kB / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.9244, allocations: 0 / 1.212 GB, free: 8.859 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.144e-05/0.9245, allocations: 79.28 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9245, allocations: 0 / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002399/0.9247, allocations: 8 kB / 1.212 GB, free: 8.773 MB / 0.9356 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.0006636/0.9254, allocations: 0.7124 MB / 1.212 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.9256, allocations: 39.91 kB / 1.212 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9256, allocations: 4.094 kB / 1.212 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.259e-05/0.9257, allocations: 19.97 kB / 1.212 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003118/0.926, allocations: 5.656 kB / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.9265, allocations: 143.1 kB / 1.212 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.9268, allocations: 0.6806 MB / 1.213 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.525e-05/0.9268, allocations: 0 / 1.213 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.9268, allocations: 11.5 kB / 1.213 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of SimCode: time 3.6e-07/0.9269, allocations: 0 / 1.213 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.9452, allocations: 1.52 MB / 1.215 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/8.726, allocations: 8.047 kB / 1.215 GB, free: 5.633 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_ExponentialIntegralE1.fmu > 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches