Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.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 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor",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.000786/0.0007861, allocations: 85.94 kB / 15.06 MB, free: 1.09 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.0008261/0.0008262, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.487/2.487, allocations: 390.4 MB / 0.6655 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003753, allocations: 8 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7807/0.7811, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor): time 0.00436/0.7856, allocations: 3.807 MB / 0.9576 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1806/0.9662, allocations: 136.8 MB / 1.091 GB, free: 3.164 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.9673, allocations: 15.94 kB / 1.091 GB, free: 3.148 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005544/0.9679, allocations: 126.9 kB / 1.091 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.9696, allocations: 436.1 kB / 1.092 GB, free: 2.602 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001921/0.9715, allocations: 0.6253 MB / 1.092 GB, free: 1.98 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001519/0.973, allocations: 1.156 MB / 1.093 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006464/0.9737, allocations: 414.5 kB / 1.094 GB, free: 408 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005655/0.9742, allocations: 346.5 kB / 1.094 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.9747, allocations: 370.2 kB / 1.095 GB, free: 15.7 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.63e-05/0.9748, allocations: 24 kB / 1.095 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001515/0.9764, allocations: 0.7177 MB / 1.095 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002255/0.9766, allocations: 183.2 kB / 1.095 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.9768, allocations: 189.1 kB / 1.096 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.9784, allocations: 1.282 MB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.9784, allocations: 0 / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.843e-06/0.9784, allocations: 0 / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.9784, allocations: 0 / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.002476/0.9809, allocations: 1.265 MB / 1.098 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.9809, allocations: 8.031 kB / 1.098 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001719/0.9811, allocations: 122.6 kB / 1.098 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.9822, allocations: 214.5 kB / 1.098 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.9833, allocations: 0.7078 MB / 1.099 GB, free: 10.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.9834, allocations: 62 kB / 1.099 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.9835, allocations: 72 kB / 1.099 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.9852, allocations: 0.8957 MB / 1.1 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.9852, allocations: 3.953 kB / 1.1 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.9853, allocations: 32 kB / 1.1 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.692e-05/0.9853, allocations: 23.94 kB / 1.1 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.9872, allocations: 1.143 MB / 1.101 GB, free: 8.605 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004099/0.9914, allocations: 2.523 MB / 1.104 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001615/0.993, allocations: 0.8507 MB / 1.105 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000664/0.9937, allocations: 334.7 kB / 1.105 GB, free: 4.824 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.9938, allocations: 32.61 kB / 1.105 GB, free: 4.793 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.9948, allocations: 0.5304 MB / 1.105 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=82): time 2.164e-06/0.9948, allocations: 0 / 1.105 GB, free: 4.242 MB / 0.8575 GB Notification: Performance of matching and sorting (n=82): time 0.003461/0.9983, allocations: 1.316 MB / 1.107 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.9984, allocations: 192.6 kB / 1.107 GB, free: 2.672 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008619/0.9993, allocations: 0.6333 MB / 1.108 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.726e-05/0.9994, allocations: 45.64 kB / 1.108 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000328/0.9997, allocations: 380.4 kB / 1.108 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/1, allocations: 260.2 kB / 1.108 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.146e-05/1, allocations: 16 kB / 1.108 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1, allocations: 394.7 kB / 1.109 GB, free: 0.9297 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/1.001, allocations: 281.8 kB / 1.109 GB, free: 0.6562 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007061/1.002, allocations: 407.3 kB / 1.109 GB, free: 232 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006947/1.002, allocations: 318.9 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/1.002, allocations: 4 kB / 1.11 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002116/1.004, allocations: 0.88 MB / 1.11 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/1.004, allocations: 9.562 kB / 1.11 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/1.004, allocations: 0 / 1.11 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/1.005, allocations: 92.81 kB / 1.11 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007025/1.006, allocations: 175.8 kB / 1.111 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/1.008, allocations: 1.534 MB / 1.112 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007576/1.009, allocations: 107.4 kB / 1.112 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/1.009, allocations: 35.98 kB / 1.112 GB, free: 12.94 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004629/1.009, allocations: 267.4 kB / 1.113 GB, free: 12.67 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001335/1.009, allocations: 82.97 kB / 1.113 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002859/1.012, allocations: 1.222 MB / 1.114 GB, free: 11.35 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/1.012, allocations: 12 kB / 1.114 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.012, allocations: 0 / 1.114 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/1.012, allocations: 19.89 kB / 1.114 GB, free: 11.32 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001193/1.013, allocations: 0.9188 MB / 1.115 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.013, allocations: 0 / 1.115 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006523/1.014, allocations: 171.8 kB / 1.115 GB, free: 10.18 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000445/1.015, allocations: 80.78 kB / 1.115 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/1.015, allocations: 27.97 kB / 1.115 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/1.016, allocations: 1.548 MB / 1.117 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.016, allocations: 0 / 1.117 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/1.018, allocations: 1.021 MB / 1.118 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004261/1.019, allocations: 303.5 kB / 1.118 GB, free: 7.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/1.019, allocations: 20 kB / 1.118 GB, free: 7 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006276/1.02, allocations: 88.53 kB / 1.118 GB, free: 6.914 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/1.02, allocations: 76.88 kB / 1.118 GB, free: 6.84 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.289e-05/1.02, allocations: 43.97 kB / 1.118 GB, free: 6.797 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005714/1.02, allocations: 459 kB / 1.118 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/1.02, allocations: 0 / 1.118 GB, free: 6.352 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008719/1.021, allocations: 311.4 kB / 1.119 GB, free: 6.047 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 5 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003596/1.025, allocations: 2.077 MB / 1.121 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001832/1.027, allocations: 0.8784 MB / 1.122 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.027, allocations: 0 / 1.122 GB, free: 3.23 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/1.028, allocations: 0.5627 MB / 1.122 GB, free: 2.656 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/1.029, allocations: 274.2 kB / 1.122 GB, free: 2.398 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01045/1.039, allocations: 5.287 MB / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007093/1.04, allocations: 1.016 MB / 1.129 GB, free: 11.94 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0009942/1.041, allocations: 266.9 kB / 1.129 GB, free: 11.68 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005622/1.042, allocations: 379.3 kB / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of SimCode: time 1.502e-06/1.042, allocations: 0 / 1.129 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04461/1.086, allocations: 22.11 MB / 1.151 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002406/1.087, allocations: 274.4 kB / 1.151 GB, free: 5.254 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.414/3.501, allocations: 0 / 1.151 GB, free: 5.254 MB / 0.9044 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ReaderTMY3HDirNor.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ReaderTMY3HDirNor_res.mat does not exist to compare? outputFormat=mat