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: "" <> 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.0009214/0.0009215, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005852/0.005852, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.349/1.349, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 462.6 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003839, allocations: 12.72 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2912, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.001378/0.2926, allocations: 1.16 MB / 1.06 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000382/0.293, allocations: 171.5 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.293, allocations: 0 / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.565e-05/0.2931, allocations: 0 / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.854e-05/0.2931, allocations: 7.938 kB / 1.06 GB, free: 3.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002339/0.2933, allocations: 27.97 kB / 1.06 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.64e-05/0.2934, allocations: 19.88 kB / 1.06 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.853e-05/0.2935, allocations: 4 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.224e-05/0.2935, allocations: 11.92 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.395e-05/0.2936, allocations: 15.92 kB / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.247e-06/0.2936, allocations: 0 / 1.06 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.2937, allocations: 51.89 kB / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.637e-06/0.2937, allocations: 0 / 1.06 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.839e-05/0.2937, allocations: 33.64 kB / 1.06 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2939, allocations: 47.86 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.2939, allocations: 0 / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.946e-06/0.2939, allocations: 0 / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.337e-06/0.2939, allocations: 3.938 kB / 1.06 GB, free: 3.324 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.0003804/0.2943, allocations: 347.8 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.2943, allocations: 15.97 kB / 1.061 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.719e-05/0.2943, allocations: 30.75 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.2944, allocations: 0.9375 kB / 1.061 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.901e-05/0.2945, allocations: 168.3 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.2945, allocations: 8.359 kB / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.2945, allocations: 384 / 1.061 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.2947, allocations: 58.23 kB / 1.061 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.625e-06/0.2947, allocations: 3.938 kB / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.2947, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.828e-06/0.2947, allocations: 0 / 1.061 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000167/0.2949, allocations: 47.91 kB / 1.061 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.2951, allocations: 245 kB / 1.061 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.2953, allocations: 46.5 kB / 1.061 GB, free: 2.211 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.695e-05/0.2954, allocations: 28.91 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/0.2955, allocations: 85.09 kB / 1.061 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2956, allocations: 38.5 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.2956, allocations: 0 / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000357/0.2959, allocations: 97.64 kB / 1.061 GB, free: 1.93 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/0.296, allocations: 51.41 kB / 1.061 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.64e-05/0.296, allocations: 101.8 kB / 1.062 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/0.296, allocations: 29.7 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.151e-05/0.2961, allocations: 84.27 kB / 1.062 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.457e-05/0.2961, allocations: 3.906 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.2961, allocations: 13.72 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.021e-05/0.2962, allocations: 314.8 kB / 1.062 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.2963, allocations: 19.97 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.708e-05/0.2964, allocations: 27.98 kB / 1.062 GB, free: 1.25 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.2965, allocations: 48.77 kB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2966, allocations: 3.938 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002054/0.2968, allocations: 77.72 kB / 1.062 GB, free: 1.113 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.2968, allocations: 4.781 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2968, allocations: 3.938 kB / 1.062 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.226e-06/0.2968, allocations: 3.938 kB / 1.062 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.2969, allocations: 15.98 kB / 1.062 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2969, allocations: 4.031 kB / 1.062 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.736e-05/0.297, allocations: 11.89 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.297, allocations: 0 / 1.062 GB, free: 1.07 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.168e-05/0.297, allocations: 117.8 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.2971, allocations: 0 / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002198/0.2973, allocations: 84.72 kB / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2973, allocations: 0 / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2973, allocations: 0 / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.2973, allocations: 0 / 1.062 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.2975, allocations: 169.5 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2975, allocations: 4 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.87e-05/0.2975, allocations: 16.03 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2975, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.21e-06/0.2975, allocations: 0 / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.2975, allocations: 3.984 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2976, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.2978, allocations: 175.4 kB / 1.063 GB, free: 444 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.639e-05/0.2978, allocations: 81.11 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.2979, allocations: 0 / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.617e-05/0.2979, allocations: 8 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.298, allocations: 8.172 kB / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.298, allocations: 0 / 1.063 GB, free: 328 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.082e-05/0.298, allocations: 83.27 kB / 1.063 GB, free: 244 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.298, allocations: 4.031 kB / 1.063 GB, free: 240 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002184/0.2982, allocations: 8 kB / 1.063 GB, free: 232 kB / 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 (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.0005309/0.2988, allocations: 0.7279 MB / 1.064 GB, free: 15.47 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.299, allocations: 51.94 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.299, allocations: 0 / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.717e-05/0.2991, allocations: 27.97 kB / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.2993, allocations: 0 / 1.064 GB, free: 15.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.2997, allocations: 146.4 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001866/0.2999, allocations: 0.677 MB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.2999, allocations: 0 / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.878e-05/0.3, allocations: 11.44 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of SimCode: time 3e-07/0.3, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8063/1.106, allocations: 1.256 MB / 1.066 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/1.106, allocations: 215.6 kB / 1.066 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.056/3.162, allocations: 8.062 kB / 1.066 GB, free: 13.11 MB / 0.8262 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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat