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.001088/0.001088, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009984/0.0009985, allocations: 196.2 kB / 16.54 MB, free: 6.668 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.227/1.227, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001925/0.001925, allocations: 290.5 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8395/0.8395, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 94.61 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1179, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.Validation.DecemberToJanuary): time 0.005112/0.1231, allocations: 4.251 MB / 0.6844 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3582/0.4813, allocations: 150.5 MB / 0.8314 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005658/0.4819, allocations: 18.47 kB / 0.8314 GB, free: 1.18 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004582/0.4824, allocations: 172.1 kB / 0.8316 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001253/0.4837, allocations: 499 kB / 0.8321 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.485, allocations: 0.7396 MB / 0.8328 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008923/0.4859, allocations: 1.201 MB / 0.834 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005338/0.4864, allocations: 0.5113 MB / 0.8345 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003175/0.4868, allocations: 402.5 kB / 0.8349 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003892/0.4872, allocations: 420.3 kB / 0.8353 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000124/0.4873, allocations: 98.38 kB / 0.8354 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005401/0.4878, allocations: 372.1 kB / 0.8357 GB, free: 432 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.488, allocations: 257.6 kB / 0.836 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.4883, allocations: 487.6 kB / 0.8364 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009961/0.4893, allocations: 1.362 MB / 0.8378 GB, free: 28 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.4893, allocations: 1.219 kB / 0.8378 GB, free: 28 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.032e-06/0.4893, allocations: 0 / 0.8378 GB, free: 28 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.4893, allocations: 0 / 0.8378 GB, free: 28 kB / 0.5606 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.001775/0.4911, allocations: 1.27 MB / 0.839 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.4912, allocations: 9.5 kB / 0.839 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001111/0.4913, allocations: 117 kB / 0.8391 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002574/0.4915, allocations: 111.5 kB / 0.8392 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007491/0.4923, allocations: 0.6963 MB / 0.8399 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.4923, allocations: 51.56 kB / 0.8399 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.942e-05/0.4924, allocations: 63.97 kB / 0.84 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009529/0.4934, allocations: 0.777 MB / 0.8408 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.4934, allocations: 0 / 0.8408 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.4935, allocations: 32.94 kB / 0.8408 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.4935, allocations: 20.44 kB / 0.8408 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.4946, allocations: 0.9636 MB / 0.8418 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00266/0.4973, allocations: 2.486 MB / 0.8442 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009534/0.4983, allocations: 0.6897 MB / 0.8449 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003167/0.4986, allocations: 252.2 kB / 0.8451 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.255e-05/0.4987, allocations: 31.94 kB / 0.8451 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005225/0.4992, allocations: 429.5 kB / 0.8455 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=70): time 1.583e-06/0.4992, allocations: 0 / 0.8455 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=70): time 0.00124/0.5004, allocations: 0.8279 MB / 0.8464 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.987e-05/0.5005, allocations: 249.4 kB / 0.8466 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000611/0.5012, allocations: 0.6276 MB / 0.8472 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.678e-05/0.5012, allocations: 42.52 kB / 0.8472 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000218/0.5014, allocations: 364.1 kB / 0.8476 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/0.5016, allocations: 230.8 kB / 0.8478 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.5017, allocations: 141.8 kB / 0.8479 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5019, allocations: 382.5 kB / 0.8483 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.5022, allocations: 202 kB / 0.8485 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003835/0.5026, allocations: 319.6 kB / 0.8488 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006413/0.5032, allocations: 0.4999 MB / 0.8493 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5032, allocations: 0 / 0.8493 GB, free: 9.348 MB / 0.5762 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0008861/0.5041, allocations: 0.6409 MB / 0.8499 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5041, allocations: 6.844 kB / 0.8499 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.5041, allocations: 2.531 kB / 0.8499 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.5041, allocations: 2.812 kB / 0.8499 GB, free: 9.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004323/0.5046, allocations: 134.8 kB / 0.8501 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.5046, allocations: 6.719 kB / 0.8501 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.5051, allocations: 85.33 kB / 0.8501 GB, free: 8.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.5051, allocations: 32.86 kB / 0.8502 GB, free: 8.922 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.0002658/0.5054, allocations: 254.1 kB / 0.8504 GB, free: 8.719 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.5055, allocations: 76.75 kB / 0.8505 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.5068, allocations: 0.8508 MB / 0.8513 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.5069, allocations: 6.844 kB / 0.8513 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5069, allocations: 3.938 kB / 0.8513 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5069, allocations: 6.953 kB / 0.8513 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008394/0.5077, allocations: 0.9658 MB / 0.8523 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.5077, allocations: 3.984 kB / 0.8523 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003716/0.5081, allocations: 132.5 kB / 0.8524 GB, free: 7.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.5081, allocations: 6.406 kB / 0.8524 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.5082, allocations: 20.3 kB / 0.8524 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.5082, allocations: 2.25 kB / 0.8524 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.5082, allocations: 2.5 kB / 0.8524 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009441/0.5091, allocations: 0.7343 MB / 0.8532 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002469/0.5094, allocations: 260.4 kB / 0.8534 GB, free: 6.762 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.5095, allocations: 29.5 kB / 0.8534 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004447/0.5099, allocations: 52.5 kB / 0.8535 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-05/0.51, allocations: 57.3 kB / 0.8535 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.884e-05/0.5101, allocations: 34.44 kB / 0.8536 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004287/0.5105, allocations: 453.4 kB / 0.854 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5105, allocations: 0 / 0.854 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005434/0.5111, allocations: 269.8 kB / 0.8543 GB, free: 6.332 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.00217/0.5133, allocations: 1.792 MB / 0.856 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001191/0.5145, allocations: 0.7271 MB / 0.8567 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.5145, allocations: 2.031 kB / 0.8567 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003916/0.5149, allocations: 323.4 kB / 0.857 GB, free: 4.812 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.5158, allocations: 260 kB / 0.8573 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/0.5217, allocations: 5.71 MB / 0.8629 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004035/0.5221, allocations: 0.9816 MB / 0.8638 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000581/0.5227, allocations: 246.7 kB / 0.8641 GB, free: 72 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004207/0.5231, allocations: 334.2 kB / 0.8644 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of SimCode: time 2.91e-07/0.5231, allocations: 4 kB / 0.8644 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2289/0.7521, allocations: 18.15 MB / 0.8821 GB, free: 1.824 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.339/9.091, allocations: 5.125 kB / 0.8821 GB, free: 1.82 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)