Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.483/2.483, allocations: 387.1 MB / 399.7 MB, free: 9.504 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 180.9 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 221.3 MB / 0.7871 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008625, allocations: 93.97 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.983e-05/2.984e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2413, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.921/1.162, allocations: 151.6 MB / 1.361 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/1.163, allocations: 84.83 kB / 1.361 GB, free: 19.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01557/1.178, allocations: 5.783 MB / 1.366 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.553e-06/1.178, allocations: 0 / 1.366 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.883e-06/1.178, allocations: 0 / 1.366 GB, free: 34.48 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003252/1.179, allocations: 367.8 kB / 1.367 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.179, allocations: 11.59 kB / 1.367 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/1.179, allocations: 113.8 kB / 1.367 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/1.179, allocations: 79.16 kB / 1.367 GB, free: 33.91 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/1.179, allocations: 242 kB / 1.367 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/1.179, allocations: 154.1 kB / 1.367 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.732e-05/1.179, allocations: 154.4 kB / 1.367 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.301e-05/1.179, allocations: 105 kB / 1.367 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/1.179, allocations: 75.28 kB / 1.368 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/1.179, allocations: 154.5 kB / 1.368 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.812e-05/1.179, allocations: 154.5 kB / 1.368 GB, free: 32.86 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.124e-05/1.179, allocations: 154.5 kB / 1.368 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002416/1.179, allocations: 470.5 kB / 1.368 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.202e-05/1.18, allocations: 165.1 kB / 1.369 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.614e-05/1.18, allocations: 80.14 kB / 1.369 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/1.18, allocations: 75.28 kB / 1.369 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/1.18, allocations: 120 kB / 1.369 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/1.18, allocations: 4 kB / 1.369 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.282e-05/1.18, allocations: 29.61 kB / 1.369 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/1.18, allocations: 126.7 kB / 1.369 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.105e-05/1.18, allocations: 96.03 kB / 1.369 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/1.18, allocations: 25.7 kB / 1.369 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/1.18, allocations: 90.77 kB / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-06/1.18, allocations: 0 / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/1.18, allocations: 0 / 1.369 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.2e-05/1.18, allocations: 314.8 kB / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/1.18, allocations: 3.844 kB / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/1.18, allocations: 21.58 kB / 1.37 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.141e-05/1.18, allocations: 14.95 kB / 1.37 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/1.18, allocations: 0 / 1.37 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001131/1.18, allocations: 55.73 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/1.18, allocations: 9.125 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/1.18, allocations: 3.875 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/1.18, allocations: 0 / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.328e-05/1.18, allocations: 3.875 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/1.18, allocations: 0 / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.764e-05/1.181, allocations: 6.844 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/1.181, allocations: 3.719 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8e-05/1.181, allocations: 183.9 kB / 1.37 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.216e-05/1.181, allocations: 116.6 kB / 1.37 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.793e-05/1.181, allocations: 111.2 kB / 1.37 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.176e-05/1.181, allocations: 180.3 kB / 1.37 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.632e-05/1.181, allocations: 184.1 kB / 1.37 GB, free: 30.22 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.336e-05/1.181, allocations: 180.2 kB / 1.371 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/1.181, allocations: 407.9 kB / 1.371 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.174e-05/1.181, allocations: 112.2 kB / 1.371 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.713e-05/1.181, allocations: 101.2 kB / 1.371 GB, free: 29.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.113e-05/1.181, allocations: 183.6 kB / 1.371 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.701e-05/1.181, allocations: 184.1 kB / 1.371 GB, free: 29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.954e-05/1.181, allocations: 183.3 kB / 1.372 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.205e-05/1.181, allocations: 180.3 kB / 1.372 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/1.182, allocations: 303 kB / 1.372 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/1.182, allocations: 189.2 kB / 1.372 GB, free: 28.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.417e-05/1.182, allocations: 184.1 kB / 1.372 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.292e-05/1.182, allocations: 109.3 kB / 1.373 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.516e-05/1.182, allocations: 183.4 kB / 1.373 GB, free: 27.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/1.182, allocations: 108.9 kB / 1.373 GB, free: 27.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.033e-05/1.182, allocations: 82.66 kB / 1.373 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.182, allocations: 0 / 1.373 GB, free: 27.46 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003594/1.182, allocations: 61.09 kB / 1.373 GB, free: 27.44 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008116/1.183, allocations: 0.9858 MB / 1.374 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.869e-05/1.183, allocations: 11.47 kB / 1.374 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.183, allocations: 0 / 1.374 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/1.183, allocations: 7.875 kB / 1.374 GB, free: 26.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/1.184, allocations: 0.5263 MB / 1.374 GB, free: 26.04 MB / 0.8386 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003675/1.184, allocations: 189.4 kB / 1.375 GB, free: 25.85 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/1.184, allocations: 0.679 MB / 1.375 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.363e-05/1.184, allocations: 0 / 1.375 GB, free: 25.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/1.184, allocations: 19.22 kB / 1.375 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.184, allocations: 4 kB / 1.375 GB, free: 25.13 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3642/1.549, allocations: 2.254 MB / 1.378 GB, free: 24.89 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/1.549, allocations: 223.5 kB / 1.378 GB, free: 24.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.537/3.086, allocations: 0 / 1.378 GB, free: 24.66 MB / 0.8386 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat does not exist to compare? outputFormat=mat