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.001591/0.001591, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001918, allocations: 193.1 kB / 16.53 MB, free: 6.664 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.766/2.766, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 64.62 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3054, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.ExponentialIntegralE1): time 0.002961/0.3084, allocations: 1.443 MB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0004719/0.3089, allocations: 159.5 kB / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.395e-05/0.309, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.88e-05/0.3091, allocations: 0 / 1.054 GB, free: 6.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.3091, allocations: 7.938 kB / 1.054 GB, free: 6.719 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003967/0.3095, allocations: 31.91 kB / 1.054 GB, free: 6.688 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.248e-05/0.3096, allocations: 31.86 kB / 1.055 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3098, allocations: 7.984 kB / 1.055 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.665e-05/0.3098, allocations: 11.98 kB / 1.055 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.694e-05/0.3099, allocations: 11.94 kB / 1.055 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.417e-05/0.3099, allocations: 0 / 1.055 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.3101, allocations: 47.89 kB / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.49e-05/0.3101, allocations: 0 / 1.055 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.3101, allocations: 7.938 kB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.3103, allocations: 39.94 kB / 1.055 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.3103, allocations: 3.984 kB / 1.055 GB, free: 6.527 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3103, allocations: 4 kB / 1.055 GB, free: 6.523 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.072e-06/0.3103, allocations: 4 kB / 1.055 GB, free: 6.52 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.0005321/0.3109, allocations: 339.8 kB / 1.055 GB, free: 6.137 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.3109, allocations: 16.56 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.639e-05/0.311, allocations: 30.75 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.702e-05/0.3111, allocations: 4.844 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3112, allocations: 160.4 kB / 1.055 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.3112, allocations: 4.375 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.497e-05/0.3113, allocations: 8.375 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002164/0.3115, allocations: 54.16 kB / 1.055 GB, free: 5.812 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3115, allocations: 3.938 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.3115, allocations: 4 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3115, allocations: 0 / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.3117, allocations: 35.95 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.3121, allocations: 245 kB / 1.056 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.3123, allocations: 46.42 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.865e-05/0.3124, allocations: 16.91 kB / 1.056 GB, free: 5.406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001922/0.3126, allocations: 89.09 kB / 1.056 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.3126, allocations: 34.56 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.3126, allocations: 4 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000404/0.313, allocations: 73.64 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.529e-05/0.3131, allocations: 51.41 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.342e-05/0.3131, allocations: 105.8 kB / 1.056 GB, free: 5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.3132, allocations: 25.7 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/0.3132, allocations: 96.17 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/0.3132, allocations: 7.906 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.3133, allocations: 13.72 kB / 1.056 GB, free: 4.844 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3134, allocations: 310.8 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.378e-05/0.3135, allocations: 15.98 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.3136, allocations: 19.97 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.3137, allocations: 44.89 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.3137, allocations: 3.938 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002116/0.3139, allocations: 65.56 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.314, allocations: 9.562 kB / 1.057 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.314, allocations: 0 / 1.057 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.314, allocations: 0 / 1.057 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.978e-05/0.3141, allocations: 11.92 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.3141, allocations: 4.031 kB / 1.057 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.716e-05/0.3142, allocations: 4 kB / 1.057 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3142, allocations: 7.938 kB / 1.057 GB, free: 4.34 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 7.073e-05/0.3142, allocations: 113.8 kB / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.3143, allocations: 0 / 1.057 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.3145, allocations: 72.78 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3145, allocations: 4.031 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.3145, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.3146, allocations: 0 / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.3147, allocations: 161.5 kB / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3147, allocations: 0 / 1.057 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.906e-05/0.3148, allocations: 11.98 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3148, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.3148, allocations: 4 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3148, allocations: 3.938 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.3148, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002445/0.3151, allocations: 167.5 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.3151, allocations: 81.02 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3151, allocations: 7.984 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.119e-05/0.3152, allocations: 0 / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.3153, allocations: 7.984 kB / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.3153, allocations: 0 / 1.057 GB, free: 3.621 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.836e-05/0.3153, allocations: 91.48 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3153, allocations: 0 / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002426/0.3156, allocations: 8 kB / 1.057 GB, free: 3.523 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 (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.0006423/0.3162, allocations: 0.7162 MB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.3165, allocations: 35.97 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.3165, allocations: 0 / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.357e-05/0.3166, allocations: 23.97 kB / 1.058 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.3169, allocations: 4.125 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004697/0.3174, allocations: 139.1 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3176, allocations: 0.6768 MB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.291e-05/0.3176, allocations: 4 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.3177, allocations: 11.44 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3177, allocations: 3.938 kB / 1.059 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01971/0.3374, allocations: 1.482 MB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.354/7.691, allocations: 6.391 kB / 1.06 GB, free: 420 kB / 0.8106 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