Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3",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.44/2.44, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001256/0.001256, allocations: 184.7 kB / 487.4 MB, free: 5.035 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.49/1.49, allocations: 221.5 MB / 0.7824 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.0009358, allocations: 98.88 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.61e-05/1.605e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2222, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7106/0.9328, allocations: 148.6 MB / 1.351 GB, free: 18.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.9331, allocations: 83.61 kB / 1.351 GB, free: 18.51 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005408/0.9385, allocations: 2.011 MB / 1.353 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.352e-06/0.9385, allocations: 0.7188 kB / 1.353 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.9386, allocations: 0 / 1.353 GB, free: 34.13 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.0002165/0.9388, allocations: 326.6 kB / 1.354 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.9388, allocations: 8.25 kB / 1.354 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.9389, allocations: 84.48 kB / 1.354 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.9391, allocations: 246.9 kB / 1.354 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.374e-05/0.9391, allocations: 151.2 kB / 1.354 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.9392, allocations: 154.3 kB / 1.354 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.004e-05/0.9393, allocations: 158.4 kB / 1.354 GB, free: 32.98 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.883e-05/0.9393, allocations: 101.6 kB / 1.354 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.9394, allocations: 79.28 kB / 1.354 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.642e-05/0.9394, allocations: 151.4 kB / 1.355 GB, free: 32.64 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.502e-05/0.9395, allocations: 150.6 kB / 1.355 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002559/0.9397, allocations: 433.1 kB / 1.355 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.986e-05/0.9398, allocations: 173.7 kB / 1.355 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.9399, allocations: 80.14 kB / 1.355 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.9399, allocations: 79.27 kB / 1.356 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.896e-05/0.94, allocations: 113.8 kB / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.94, allocations: 0 / 1.356 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.603e-05/0.94, allocations: 26.36 kB / 1.356 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.333e-05/0.9401, allocations: 56.06 kB / 1.356 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.9402, allocations: 100 kB / 1.356 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.9402, allocations: 25.7 kB / 1.356 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.9403, allocations: 80.8 kB / 1.356 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.9403, allocations: 0 / 1.356 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.913e-06/0.9403, allocations: 3.875 kB / 1.356 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.9404, allocations: 312.9 kB / 1.356 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.9404, allocations: 3.781 kB / 1.356 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.236e-05/0.9404, allocations: 17.25 kB / 1.356 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.097e-05/0.9405, allocations: 5.016 kB / 1.356 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.9405, allocations: 0 / 1.356 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.943e-05/0.9406, allocations: 43.44 kB / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.9406, allocations: 3.875 kB / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.9406, allocations: 0.7031 kB / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.9406, allocations: 0 / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.9406, allocations: 0 / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/0.9406, allocations: 4.469 kB / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.684e-05/0.9407, allocations: 0.7969 kB / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.9407, allocations: 4.734 kB / 1.356 GB, free: 30.93 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 1 * 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 7.942e-05/0.9408, allocations: 182.1 kB / 1.356 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.066e-05/0.9409, allocations: 147.5 kB / 1.357 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.315e-05/0.9409, allocations: 112.6 kB / 1.357 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.361e-05/0.941, allocations: 109.9 kB / 1.357 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.086e-05/0.9411, allocations: 181.4 kB / 1.357 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.174e-05/0.9411, allocations: 185.9 kB / 1.357 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-05/0.9412, allocations: 176.9 kB / 1.357 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.9414, allocations: 388.3 kB / 1.358 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-05/0.9414, allocations: 101.8 kB / 1.358 GB, free: 29.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.9414, allocations: 105.7 kB / 1.358 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.172e-05/0.9415, allocations: 185 kB / 1.358 GB, free: 29.01 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.828e-05/0.9416, allocations: 179.8 kB / 1.358 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.446e-05/0.9416, allocations: 181 kB / 1.358 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.317e-05/0.9417, allocations: 181.6 kB / 1.359 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001268/0.9418, allocations: 306.1 kB / 1.359 GB, free: 28.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.9419, allocations: 183.2 kB / 1.359 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.942, allocations: 181.4 kB / 1.359 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.942, allocations: 109.7 kB / 1.359 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.9421, allocations: 181 kB / 1.36 GB, free: 27.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.81e-05/0.9421, allocations: 105.5 kB / 1.36 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.254e-05/0.9422, allocations: 91.78 kB / 1.36 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9422, allocations: 0 / 1.36 GB, free: 27.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002314/0.9424, allocations: 4.641 kB / 1.36 GB, free: 27.29 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.0004565/0.9429, allocations: 0.8164 MB / 1.36 GB, free: 26.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.943, allocations: 12.39 kB / 1.361 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.943, allocations: 0 / 1.361 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.943, allocations: 0 / 1.361 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003084/0.9433, allocations: 0.5203 MB / 1.361 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003131/0.9436, allocations: 161.8 kB / 1.361 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002525/0.9439, allocations: 0.6849 MB / 1.362 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.624e-05/0.9439, allocations: 3.875 kB / 1.362 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.9439, allocations: 8.281 kB / 1.362 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/0.9439, allocations: 0 / 1.362 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02184/0.9658, allocations: 0.7357 MB / 1.363 GB, free: 24.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/0.9661, allocations: 175.6 kB / 1.363 GB, free: 24.79 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.773/2.739, allocations: 2.5 kB / 1.363 GB, free: 24.79 MB / 0.8386 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat does not exist to compare? outputFormat=mat