Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.463/2.463, allocations: 390.5 MB / 398 MB, free: 10.95 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.001367/0.001367, allocations: 180.4 kB / 491.2 MB, free: 1.578 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.579/1.579, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001064/0.001064, allocations: 107.5 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.836e-05/1.829e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2322, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9137/1.146, allocations: 151.7 MB / 1.361 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002111/1.146, allocations: 87.03 kB / 1.361 GB, free: 17.21 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0156/1.162, allocations: 5.66 MB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.213e-06/1.162, allocations: 0 / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.041e-06/1.162, allocations: 0 / 1.366 GB, free: 32.65 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.0002942/1.162, allocations: 378.7 kB / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/1.162, allocations: 11.53 kB / 1.367 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/1.162, allocations: 79.22 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/1.162, allocations: 242.2 kB / 1.367 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.272e-05/1.162, allocations: 150.6 kB / 1.367 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.911e-05/1.163, allocations: 150.6 kB / 1.367 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.3e-05/1.163, allocations: 154.6 kB / 1.367 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.595e-05/1.163, allocations: 112.1 kB / 1.367 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.474e-05/1.163, allocations: 75.28 kB / 1.367 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.433e-05/1.163, allocations: 150.6 kB / 1.368 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.623e-05/1.163, allocations: 150.6 kB / 1.368 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000262/1.163, allocations: 442.3 kB / 1.368 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/1.163, allocations: 169 kB / 1.368 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/1.163, allocations: 80.14 kB / 1.368 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/1.163, allocations: 75.28 kB / 1.369 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/1.163, allocations: 113.8 kB / 1.369 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.433e-06/1.163, allocations: 4 kB / 1.369 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.191e-05/1.163, allocations: 32.94 kB / 1.369 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.838e-05/1.163, allocations: 51.41 kB / 1.369 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.071e-05/1.163, allocations: 96.72 kB / 1.369 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.101e-05/1.163, allocations: 25.7 kB / 1.369 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.027e-05/1.164, allocations: 80.14 kB / 1.369 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.393e-06/1.164, allocations: 3.938 kB / 1.369 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.094e-06/1.164, allocations: 0 / 1.369 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001064/1.164, allocations: 325.3 kB / 1.369 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.498e-06/1.164, allocations: 0 / 1.369 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.736e-05/1.164, allocations: 22.47 kB / 1.369 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001307/1.164, allocations: 24.83 kB / 1.369 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/1.164, allocations: 3.719 kB / 1.369 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00017/1.164, allocations: 65.09 kB / 1.369 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.164, allocations: 3.844 kB / 1.369 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.164, allocations: 0 / 1.369 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/1.164, allocations: 3.844 kB / 1.369 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.467e-05/1.164, allocations: 10.61 kB / 1.369 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.164, allocations: 0 / 1.369 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/1.164, allocations: 7.5 kB / 1.369 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/1.164, allocations: 7.016 kB / 1.369 GB, free: 29.39 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 9.223e-05/1.164, allocations: 176.3 kB / 1.37 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.641e-05/1.164, allocations: 142.3 kB / 1.37 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.662e-05/1.164, allocations: 104.9 kB / 1.37 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.802e-05/1.165, allocations: 118.2 kB / 1.37 GB, free: 28.84 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/1.165, allocations: 184.2 kB / 1.37 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.936e-05/1.165, allocations: 176.3 kB / 1.37 GB, free: 28.47 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-05/1.165, allocations: 179.2 kB / 1.37 GB, free: 28.29 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/1.165, allocations: 396.1 kB / 1.371 GB, free: 27.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/1.165, allocations: 101.2 kB / 1.371 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.536e-05/1.165, allocations: 105 kB / 1.371 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-05/1.165, allocations: 184.1 kB / 1.371 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/1.165, allocations: 179.7 kB / 1.371 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.208e-05/1.165, allocations: 180.3 kB / 1.371 GB, free: 27.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-05/1.165, allocations: 180.2 kB / 1.372 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/1.165, allocations: 301.7 kB / 1.372 GB, free: 26.62 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.811e-05/1.165, allocations: 189.9 kB / 1.372 GB, free: 26.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/1.165, allocations: 179.7 kB / 1.372 GB, free: 26.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.347e-05/1.166, allocations: 105 kB / 1.372 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.375e-05/1.166, allocations: 180.2 kB / 1.373 GB, free: 25.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/1.166, allocations: 111.9 kB / 1.373 GB, free: 25.83 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.051e-05/1.166, allocations: 82.5 kB / 1.373 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/1.166, allocations: 3.938 kB / 1.373 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000369/1.166, allocations: 61.28 kB / 1.373 GB, free: 25.73 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.0008242/1.167, allocations: 0.9792 MB / 1.374 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.006e-05/1.167, allocations: 7.688 kB / 1.374 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.167, allocations: 4.188 kB / 1.374 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/1.167, allocations: 0 / 1.374 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/1.167, allocations: 0.5297 MB / 1.374 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003509/1.168, allocations: 185 kB / 1.374 GB, free: 24.14 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/1.168, allocations: 0.6796 MB / 1.375 GB, free: 23.45 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.075e-05/1.168, allocations: 3.984 kB / 1.375 GB, free: 23.44 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.26e-05/1.168, allocations: 17.44 kB / 1.375 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.168, allocations: 0 / 1.375 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5715/1.739, allocations: 1.943 MB / 1.377 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.74, allocations: 210.5 kB / 1.377 GB, free: 22.94 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.673/3.412, allocations: 1.031 kB / 1.377 GB, free: 22.94 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.mat does not exist to compare? outputFormat=mat