Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.287/2.287, allocations: 387.1 MB / 399.7 MB, free: 9.496 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.001268/0.001268, allocations: 172.9 kB / 492.3 MB, free: 0.6484 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.722/1.722, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0009208/0.0009209, allocations: 99.06 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.541e-05/3.567e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2842, allocations: 142.3 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.8/5.084, allocations: 1.731 GB / 2.943 GB, free: 108.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/5.084, allocations: 84.08 kB / 2.943 GB, free: 108.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2042/5.288, allocations: 91.61 MB / 3.033 GB, free: 21.96 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.553e-06/5.289, allocations: 4 kB / 3.033 GB, free: 21.96 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001451/5.289, allocations: 40 kB / 3.033 GB, free: 21.92 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.00341/5.292, allocations: 1.669 MB / 3.034 GB, free: 20.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/5.292, allocations: 15.97 kB / 3.034 GB, free: 20.18 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004125/5.293, allocations: 194.6 kB / 3.034 GB, free: 19.98 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/5.295, allocations: 369.4 kB / 3.035 GB, free: 19.62 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/5.297, allocations: 1.015 MB / 3.036 GB, free: 18.55 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.313e-05/5.297, allocations: 98.69 kB / 3.036 GB, free: 18.45 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002513/5.297, allocations: 132 kB / 3.036 GB, free: 18.32 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/5.3, allocations: 1.458 MB / 3.037 GB, free: 16.77 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/5.3, allocations: 7.891 kB / 3.037 GB, free: 16.76 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/5.3, allocations: 60 kB / 3.037 GB, free: 16.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/5.3, allocations: 32 kB / 3.037 GB, free: 16.67 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/5.302, allocations: 1.954 MB / 3.039 GB, free: 14.71 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006172/5.308, allocations: 4.521 MB / 3.044 GB, free: 10.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001801/5.31, allocations: 1.34 MB / 3.045 GB, free: 8.742 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006173/5.311, allocations: 0.497 MB / 3.046 GB, free: 8.242 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/5.311, allocations: 65.17 kB / 3.046 GB, free: 8.176 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009815/5.312, allocations: 0.7454 MB / 3.046 GB, free: 7.406 MB / 1.151 GB Notification: Performance of pre-optimization done (n=136): time 4.498e-06/5.312, allocations: 0 / 3.046 GB, free: 7.406 MB / 1.151 GB Notification: Performance of matching and sorting (n=136): time 0.002775/5.315, allocations: 1.314 MB / 3.048 GB, free: 6.082 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.755e-05/5.315, allocations: 462.1 kB / 3.048 GB, free: 5.527 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/5.316, allocations: 1.063 MB / 3.049 GB, free: 4.453 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/5.316, allocations: 57.69 kB / 3.049 GB, free: 4.391 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003902/5.317, allocations: 0.6032 MB / 3.05 GB, free: 3.781 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002699/5.317, allocations: 449.5 kB / 3.05 GB, free: 3.336 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/5.317, allocations: 28 kB / 3.05 GB, free: 3.309 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.903e-05/5.317, allocations: 349.9 kB / 3.051 GB, free: 2.961 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005567/5.318, allocations: 386.5 kB / 3.051 GB, free: 2.582 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/5.319, allocations: 0.6201 MB / 3.052 GB, free: 1.891 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006711/5.319, allocations: 486.2 kB / 3.052 GB, free: 1.414 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/5.319, allocations: 0 / 3.052 GB, free: 1.414 MB / 1.151 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002764/5.322, allocations: 1.329 MB / 3.053 GB, free: 72 kB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/5.322, allocations: 4.219 kB / 3.053 GB, free: 68 kB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/5.322, allocations: 8 kB / 3.053 GB, free: 60 kB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6782/6, allocations: 164.3 kB / 3.053 GB, free: 376.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/6.002, allocations: 274.4 kB / 3.054 GB, free: 376.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003952/6.006, allocations: 3.059 MB / 3.057 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/6.008, allocations: 160.1 kB / 3.057 GB, free: 373.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000422/6.008, allocations: 57.48 kB / 3.057 GB, free: 373.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006307/6.009, allocations: 184.5 kB / 3.057 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006903/6.01, allocations: 148.2 kB / 3.057 GB, free: 373.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005691/6.015, allocations: 1.912 MB / 3.059 GB, free: 373.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.772e-05/6.015, allocations: 16.77 kB / 3.059 GB, free: 373.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.826e-05/6.015, allocations: 1.125 kB / 3.059 GB, free: 373.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/6.015, allocations: 12.11 kB / 3.059 GB, free: 373.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/6.019, allocations: 1.519 MB / 3.061 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/6.019, allocations: 0 / 3.061 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/6.02, allocations: 279.7 kB / 3.061 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001107/6.021, allocations: 170.8 kB / 3.061 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001721/6.021, allocations: 49.14 kB / 3.061 GB, free: 373.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003543/6.025, allocations: 3.111 MB / 3.064 GB, free: 370.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/6.025, allocations: 1.875 kB / 3.064 GB, free: 370.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005102/6.03, allocations: 1.555 MB / 3.066 GB, free: 370.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/6.031, allocations: 486.4 kB / 3.066 GB, free: 370.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004887/6.032, allocations: 31.7 kB / 3.066 GB, free: 370.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/6.033, allocations: 134.4 kB / 3.066 GB, free: 370.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/6.033, allocations: 120.7 kB / 3.066 GB, free: 370.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/6.034, allocations: 58.89 kB / 3.066 GB, free: 370.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001464/6.035, allocations: 0.8387 MB / 3.067 GB, free: 370.2 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/6.035, allocations: 0 / 3.067 GB, free: 370.2 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002552/6.038, allocations: 0.5544 MB / 3.068 GB, free: 370.1 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006006/6.044, allocations: 3.172 MB / 3.071 GB, free: 369.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002833/6.046, allocations: 1.353 MB / 3.072 GB, free: 369 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.218e-06/6.046, allocations: 0.875 kB / 3.072 GB, free: 369 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001656/6.048, allocations: 0.9108 MB / 3.073 GB, free: 368.8 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002549/6.051, allocations: 476.6 kB / 3.074 GB, free: 368.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009323/6.06, allocations: 2.878 MB / 3.076 GB, free: 368.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/6.061, allocations: 1.323 MB / 3.078 GB, free: 367.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00236/6.064, allocations: 0.5003 MB / 3.078 GB, free: 367.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/6.065, allocations: 0.6723 MB / 3.079 GB, free: 367.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.102e-06/6.065, allocations: 0 / 3.079 GB, free: 367.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09882/6.164, allocations: 48.85 MB / 3.127 GB, free: 364.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/6.164, allocations: 239 kB / 3.127 GB, free: 363.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.659/9.823, allocations: 0 / 3.127 GB, free: 363.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3_res.mat does not exist to compare? outputFormat=mat