Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.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.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Functions_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.0008786/0.0008786, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0009727/0.0009727, allocations: 176.8 kB / 16.27 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.267/1.267, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.441/2.441, allocations: 443.4 MB / 0.7176 GB, free: 1.422 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003144/0.0003145, allocations: 13.78 kB / 0.8797 GB, free: 41.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2475, allocations: 155.2 MB / 1.031 GB, free: 4.281 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0006068/0.2482, allocations: 312.4 kB / 1.032 GB, free: 3.973 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0003192/0.2485, allocations: 115.6 kB / 1.032 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.756e-06/0.2485, allocations: 0 / 1.032 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.859e-06/0.2485, allocations: 0 / 1.032 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.478e-06/0.2486, allocations: 0 / 1.032 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.2488, allocations: 23.92 kB / 1.032 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 2.767e-05/0.2489, allocations: 3.984 kB / 1.032 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.513e-05/0.2489, allocations: 0 / 1.032 GB, free: 3.832 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.503e-05/0.2489, allocations: 8 kB / 1.032 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 1.583e-05/0.2489, allocations: 0 / 1.032 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.672e-06/0.2489, allocations: 0 / 1.032 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.2491, allocations: 39.91 kB / 1.032 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.893e-06/0.2491, allocations: 0 / 1.032 GB, free: 3.785 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.491e-05/0.2491, allocations: 29.7 kB / 1.032 GB, free: 3.75 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.2492, allocations: 35.89 kB / 1.032 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2492, allocations: 0 / 1.032 GB, free: 3.715 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2493, allocations: 7.922 kB / 1.032 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.876e-06/0.2493, allocations: 0 / 1.032 GB, free: 3.707 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000213/0.2495, allocations: 315.5 kB / 1.032 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.2495, allocations: 8.031 kB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.806e-05/0.2495, allocations: 30.75 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.594e-05/0.2496, allocations: 4.938 kB / 1.032 GB, free: 3.297 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.249e-05/0.2497, allocations: 164.4 kB / 1.032 GB, free: 3.098 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.2497, allocations: 8.312 kB / 1.032 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.221e-06/0.2497, allocations: 4.375 kB / 1.032 GB, free: 3.086 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.872e-05/0.2498, allocations: 26.27 kB / 1.032 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.2498, allocations: 3.938 kB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-06/0.2498, allocations: 0 / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.2498, allocations: 0 / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.648e-05/0.2498, allocations: 4 kB / 1.032 GB, free: 3.047 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001082/0.2499, allocations: 149.7 kB / 1.032 GB, free: 2.852 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 3.245e-05/0.25, allocations: 22.52 kB / 1.033 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.25, allocations: 12.94 kB / 1.033 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001721/0.2502, allocations: 81.11 kB / 1.033 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.846e-05/0.2502, allocations: 34.55 kB / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.2502, allocations: 0 / 1.033 GB, free: 2.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1): time 0.0001157/0.2503, allocations: 37.64 kB / 1.033 GB, free: 2.621 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/0.2504, allocations: 51.41 kB / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.886e-05/0.2504, allocations: 93.86 kB / 1.033 GB, free: 2.457 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 9.839e-06/0.2504, allocations: 25.7 kB / 1.033 GB, free: 2.426 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 1.925e-05/0.2504, allocations: 80.14 kB / 1.033 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.111e-05/0.2505, allocations: 4 kB / 1.033 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.246e-05/0.2505, allocations: 9.719 kB / 1.033 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.931e-05/0.2506, allocations: 310.8 kB / 1.033 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.735e-06/0.2506, allocations: 8.062 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.33e-06/0.2506, allocations: 3.984 kB / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.253e-05/0.2506, allocations: 8.859 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2506, allocations: 3.938 kB / 1.033 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.728e-05/0.2507, allocations: 33.7 kB / 1.033 GB, free: 1.945 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.799e-06/0.2507, allocations: 8 kB / 1.033 GB, free: 1.938 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.2507, allocations: 3.938 kB / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.2507, allocations: 0 / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.902e-05/0.2508, allocations: 0 / 1.033 GB, free: 1.934 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-06/0.2508, allocations: 4.094 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.138e-05/0.2508, allocations: 4.562 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.2508, allocations: 3.938 kB / 1.033 GB, free: 1.922 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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 5.741e-05/0.2509, allocations: 115.6 kB / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.749e-05/0.2509, allocations: 0 / 1.033 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.251, allocations: 44.7 kB / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.251, allocations: 0 / 1.033 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.251, allocations: 4 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.251, allocations: 4.031 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.401e-05/0.2511, allocations: 149.6 kB / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2511, allocations: 0 / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.069e-05/0.2511, allocations: 0 / 1.034 GB, free: 1.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2511, allocations: 4 kB / 1.034 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.2511, allocations: 3.938 kB / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.22e-07/0.2511, allocations: 0 / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2511, allocations: 0 / 1.034 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.85e-05/0.2512, allocations: 65.06 kB / 1.034 GB, free: 1.453 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.073e-05/0.2512, allocations: 81.11 kB / 1.034 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.536e-06/0.2512, allocations: 3.938 kB / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-06/0.2512, allocations: 0 / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.748e-06/0.2513, allocations: 0 / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-06/0.2513, allocations: 0 / 1.034 GB, free: 1.352 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.194e-05/0.2513, allocations: 75.28 kB / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2513, allocations: 0 / 1.034 GB, free: 1.277 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001801/0.2515, allocations: 8 kB / 1.034 GB, free: 1.27 MB / 0.7794 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 (1): * Single equations (assignments): 1 * 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.0003464/0.2518, allocations: 0.6241 MB / 1.034 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 4.518e-05/0.2519, allocations: 4 kB / 1.034 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2519, allocations: 0 / 1.034 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.493e-06/0.2519, allocations: 12.03 kB / 1.034 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001155/0.252, allocations: 0.9844 kB / 1.034 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002179/0.2522, allocations: 108.3 kB / 1.035 GB, free: 468 kB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001845/0.2524, allocations: 0.6692 MB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.498e-06/0.2525, allocations: 0 / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.221e-05/0.2525, allocations: 7.438 kB / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of SimCode: time 2.11e-07/0.2525, allocations: 0 / 1.035 GB, free: 15.75 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00893/0.2614, allocations: 0.9753 MB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.2616, allocations: 227.6 kB / 1.036 GB, free: 14.69 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/2.092, allocations: 0 / 1.036 GB, free: 14.69 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1_fmu --startTime=0.01 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_ExponentialIntegralE1.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.Math.Functions.Examples.ExponentialIntegralE1_res.mat does not exist to compare? outputFormat=mat