Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.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.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData,fileNamePrefix="Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData",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.0008073/0.0008074, allocations: 86.72 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.0008464/0.0008464, 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.409/1.409, allocations: 223.2 MB / 240 MB, free: 5.422 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.478/2.478, allocations: 390.4 MB / 0.6655 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004038/0.000404, allocations: 8 kB / 0.8149 GB, free: 14.09 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7801/0.7805, allocations: 142.3 MB / 0.9538 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData): time 0.004588/0.7851, allocations: 3.657 MB / 0.9574 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1751/0.9603, allocations: 136.8 MB / 1.091 GB, free: 3.301 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001095/0.9614, allocations: 15.94 kB / 1.091 GB, free: 3.285 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0007934/0.9623, allocations: 115 kB / 1.091 GB, free: 3.172 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.002217/0.9645, allocations: 407.5 kB / 1.091 GB, free: 2.777 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001977/0.9665, allocations: 0.5772 MB / 1.092 GB, free: 2.207 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001864/0.9684, allocations: 1.023 MB / 1.093 GB, free: 1.18 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/0.9693, allocations: 362.8 kB / 1.093 GB, free: 0.8125 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006349/0.97, allocations: 286.7 kB / 1.094 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000675/0.9707, allocations: 314.4 kB / 1.094 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.9708, allocations: 24 kB / 1.094 GB, free: 204 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008262/0.9717, allocations: 275.8 kB / 1.094 GB, free: 15.93 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002541/0.9719, allocations: 159.2 kB / 1.094 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.9722, allocations: 193.1 kB / 1.095 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001454/0.9737, allocations: 1.001 MB / 1.096 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.428e-06/0.9737, allocations: 3.938 kB / 1.096 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.456e-06/0.9737, allocations: 0 / 1.096 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.192e-05/0.9738, allocations: 0 / 1.096 GB, free: 14.57 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.00285/0.9766, allocations: 1.102 MB / 1.097 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.9767, allocations: 8.031 kB / 1.097 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00028/0.977, allocations: 114.5 kB / 1.097 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003848/0.9774, allocations: 106.8 kB / 1.097 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.9785, allocations: 0.672 MB / 1.098 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.9786, allocations: 54 kB / 1.098 GB, free: 12.42 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001054/0.9787, allocations: 64 kB / 1.098 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001334/0.9801, allocations: 0.7642 MB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.9801, allocations: 3.953 kB / 1.098 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.9802, allocations: 35.98 kB / 1.098 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.9802, allocations: 16 kB / 1.098 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.9817, allocations: 0.9611 MB / 1.099 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004231/0.9859, allocations: 2.511 MB / 1.102 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.9874, allocations: 0.6771 MB / 1.102 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004075/0.9878, allocations: 247.3 kB / 1.103 GB, free: 6.988 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-05/0.9879, allocations: 28.52 kB / 1.103 GB, free: 6.961 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008803/0.9888, allocations: 430.3 kB / 1.103 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=70): time 3.156e-06/0.9888, allocations: 0 / 1.103 GB, free: 6.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=70): time 0.001881/0.9907, allocations: 0.8299 MB / 1.104 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001578/0.9909, allocations: 243.9 kB / 1.104 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.9919, allocations: 0.6176 MB / 1.105 GB, free: 4.766 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.265e-05/0.992, allocations: 37.7 kB / 1.105 GB, free: 4.723 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003844/0.9924, allocations: 372.6 kB / 1.105 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.9927, allocations: 224.8 kB / 1.105 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.9927, allocations: 12 kB / 1.105 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001866/0.9929, allocations: 382.8 kB / 1.106 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003548/0.9933, allocations: 197.2 kB / 1.106 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.9938, allocations: 333.3 kB / 1.106 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004274/0.9942, allocations: 235.2 kB / 1.107 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.9942, allocations: 0 / 1.107 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001091/0.9953, allocations: 0.6369 MB / 1.107 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.9953, allocations: 4 kB / 1.107 GB, free: 2.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.9953, allocations: 4.062 kB / 1.107 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.9954, allocations: 8 kB / 1.107 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.9959, allocations: 131.8 kB / 1.107 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.92e-05/0.9959, allocations: 7.938 kB / 1.107 GB, free: 2.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005929/0.9965, allocations: 99.5 kB / 1.107 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.9966, allocations: 23.98 kB / 1.107 GB, free: 2.031 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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 0.000429/0.997, allocations: 255.8 kB / 1.108 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.9972, allocations: 79.05 kB / 1.108 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.9988, allocations: 0.8484 MB / 1.109 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.9988, allocations: 11.94 kB / 1.109 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.9988, allocations: 0 / 1.109 GB, free: 0.8203 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-05/0.9988, allocations: 11.97 kB / 1.109 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/1, allocations: 0.983 MB / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/1, allocations: 0 / 1.11 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/1.001, allocations: 123.8 kB / 1.11 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/1.001, allocations: 4 kB / 1.11 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.233e-05/1.001, allocations: 27.97 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/1.001, allocations: 0 / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.001, allocations: 7.953 kB / 1.11 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/1.002, allocations: 0.7199 MB / 1.11 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003334/1.002, allocations: 275.7 kB / 1.111 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001058/1.002, allocations: 20 kB / 1.111 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004777/1.003, allocations: 71.94 kB / 1.111 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/1.003, allocations: 64.52 kB / 1.111 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.013e-05/1.003, allocations: 31.92 kB / 1.111 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005794/1.004, allocations: 455 kB / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/1.004, allocations: 0 / 1.111 GB, free: 13.96 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008155/1.004, allocations: 259.5 kB / 1.112 GB, free: 13.7 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 76 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002852/1.007, allocations: 1.775 MB / 1.113 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.000966/1.008, allocations: 0.5443 MB / 1.114 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/1.008, allocations: 0 / 1.114 GB, free: 11.54 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004701/1.009, allocations: 319.9 kB / 1.114 GB, free: 11.23 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/1.01, allocations: 227.5 kB / 1.114 GB, free: 11 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/1.017, allocations: 4.388 MB / 1.119 GB, free: 6.543 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005695/1.018, allocations: 0.9771 MB / 1.12 GB, free: 5.539 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0008065/1.019, allocations: 250.1 kB / 1.12 GB, free: 5.289 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/1.019, allocations: 335.3 kB / 1.12 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of SimCode: time 7.62e-07/1.019, allocations: 0 / 1.12 GB, free: 4.961 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03745/1.057, allocations: 18.48 MB / 1.138 GB, free: 2.832 MB / 0.8887 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/1.057, allocations: 261.6 kB / 1.138 GB, free: 2.477 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.282/3.339, allocations: 0 / 1.138 GB, free: 2.477 MB / 0.8887 GB (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat --tempDir=temp_Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData_fmu --startTime=0 --stopTime=9.4608e+07 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_BoundaryConditions_WeatherData_Validation_ThreeYears_usingTwoYearData.fmu > Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.BoundaryConditions.WeatherData.Validation.ThreeYears_usingTwoYearData_res.mat does not exist to compare? outputFormat=mat