Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary",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.001308/0.001308, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001087/0.001087, allocations: 191.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.162/1.162, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 283 kB / 290.3 MB, free: 2.141 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8296/0.8296, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 92.47 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1133, allocations: 86.98 MB / 0.6797 GB, free: 0.9766 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.004582/0.1179, allocations: 4.273 MB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3395/0.4575, allocations: 148.3 MB / 0.8287 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005706/0.4581, allocations: 14.75 kB / 0.8287 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004602/0.4585, allocations: 133.5 kB / 0.8289 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001227/0.4598, allocations: 437.5 kB / 0.8293 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.4611, allocations: 0.6665 MB / 0.8299 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001001/0.4621, allocations: 1.198 MB / 0.8311 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005894/0.4627, allocations: 0.5131 MB / 0.8316 GB, free: 312 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004707/0.4632, allocations: 410.2 kB / 0.832 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2637/0.7269, allocations: 422.8 kB / 0.8324 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.727, allocations: 99.2 kB / 0.8325 GB, free: 132 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007453/0.7278, allocations: 374.3 kB / 0.8328 GB, free: 112 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.728, allocations: 256.3 kB / 0.8331 GB, free: 72 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000455/0.7285, allocations: 483.2 kB / 0.8336 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.73, allocations: 1.36 MB / 0.8349 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.73, allocations: 0 / 0.8349 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.823e-06/0.73, allocations: 1.062 kB / 0.8349 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.73, allocations: 4 kB / 0.8349 GB, free: 15.71 MB / 0.5762 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.002619/0.7326, allocations: 1.267 MB / 0.8361 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.7327, allocations: 19.62 kB / 0.8361 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001694/0.7329, allocations: 117.1 kB / 0.8363 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003893/0.7333, allocations: 108.5 kB / 0.8364 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.7344, allocations: 0.6888 MB / 0.837 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.304e-05/0.7345, allocations: 50.84 kB / 0.8371 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.7346, allocations: 68.56 kB / 0.8371 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.7361, allocations: 0.7697 MB / 0.8379 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.7361, allocations: 13.06 kB / 0.8379 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.139e-05/0.7362, allocations: 32.44 kB / 0.8379 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.7362, allocations: 20.5 kB / 0.838 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/0.7379, allocations: 0.9669 MB / 0.8389 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.7419, allocations: 2.482 MB / 0.8413 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001421/0.7433, allocations: 0.6816 MB / 0.842 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004823/0.7438, allocations: 258.7 kB / 0.8422 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.886e-05/0.7439, allocations: 26.66 kB / 0.8423 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008724/0.7448, allocations: 436.7 kB / 0.8427 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 2.926e-06/0.7448, allocations: 0 / 0.8427 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.001887/0.7467, allocations: 0.8316 MB / 0.8435 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.7469, allocations: 247.7 kB / 0.8437 GB, free: 11.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009241/0.7478, allocations: 0.6333 MB / 0.8443 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.062e-05/0.7479, allocations: 39.17 kB / 0.8444 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/0.7482, allocations: 362.2 kB / 0.8447 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.7484, allocations: 227.3 kB / 0.8449 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002582/0.7487, allocations: 135.3 kB / 0.8451 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000193/0.7489, allocations: 382.9 kB / 0.8454 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004414/0.7494, allocations: 201.6 kB / 0.8456 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005929/0.75, allocations: 328.4 kB / 0.8459 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009956/0.751, allocations: 0.5028 MB / 0.8464 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.751, allocations: 0 / 0.8464 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00139/0.7524, allocations: 0.6331 MB / 0.8471 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.7524, allocations: 5.344 kB / 0.8471 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.084e-06/0.7524, allocations: 2.656 kB / 0.8471 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.7525, allocations: 8.688 kB / 0.8471 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.7531, allocations: 134.7 kB / 0.8472 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.313e-05/0.7532, allocations: 6.031 kB / 0.8472 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007059/0.7539, allocations: 81.77 kB / 0.8473 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.467e-05/0.754, allocations: 25.89 kB / 0.8473 GB, free: 9.469 MB / 0.5762 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 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004134/0.7544, allocations: 260.4 kB / 0.8476 GB, free: 9.262 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.7546, allocations: 83.53 kB / 0.8476 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/0.7566, allocations: 0.8408 MB / 0.8485 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.7567, allocations: 11.66 kB / 0.8485 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.7567, allocations: 3.938 kB / 0.8485 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7567, allocations: 3.984 kB / 0.8485 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.758, allocations: 0.9683 MB / 0.8494 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.758, allocations: 0 / 0.8494 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.7586, allocations: 127.6 kB / 0.8495 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.7586, allocations: 9.219 kB / 0.8496 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.7587, allocations: 19.58 kB / 0.8496 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.979e-06/0.7587, allocations: 2.75 kB / 0.8496 GB, free: 7.941 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.7587, allocations: 4.031 kB / 0.8496 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/0.7602, allocations: 0.7417 MB / 0.8503 GB, free: 7.535 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000377/0.7606, allocations: 260.6 kB / 0.8506 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.7608, allocations: 21.62 kB / 0.8506 GB, free: 7.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/0.7615, allocations: 57.06 kB / 0.8506 GB, free: 7.262 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.7617, allocations: 62.25 kB / 0.8507 GB, free: 7.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/0.7617, allocations: 34.39 kB / 0.8507 GB, free: 7.219 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0006546/0.7624, allocations: 454.2 kB / 0.8512 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.024e-06/0.7624, allocations: 2.281 kB / 0.8512 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008119/0.7632, allocations: 263.7 kB / 0.8514 GB, free: 6.879 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003355/0.7666, allocations: 1.785 MB / 0.8531 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001891/0.7685, allocations: 0.7197 MB / 0.8539 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.7685, allocations: 0 / 0.8539 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006206/0.7692, allocations: 326.2 kB / 0.8542 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001409/0.7706, allocations: 275.9 kB / 0.8544 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/0.7819, allocations: 6.019 MB / 0.8603 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005985/0.7825, allocations: 0.9795 MB / 0.8613 GB, free: 420 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009504/0.7835, allocations: 257 kB / 0.8615 GB, free: 288 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005907/0.7841, allocations: 324.9 kB / 0.8618 GB, free: 28 kB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.7841, allocations: 0 / 0.8618 GB, free: 28 kB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.945/6.729, allocations: 17.97 MB / 0.8794 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/6.73, allocations: 293.2 kB / 0.8796 GB, free: 2.344 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.465/12.19, allocations: 2.188 kB / 0.8796 GB, free: 2.344 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary_fmu --startTime=3.09924e+07 --stopTime=3.186e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Validation_DecemberToJanuary.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary.pipe 2>&1)