Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.001613/0.001613, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.002263/0.002263, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.755/2.755, allocations: 205.4 MB / 222.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.63/2.63, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009631/0.0009637, allocations: 17.28 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4619/0.4629, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003364/0.4664, allocations: 1.188 MB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002205/0.4686, allocations: 0.7143 MB / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.647e-05/0.4687, allocations: 0 / 0.7891 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.52e-05/0.4688, allocations: 3.938 kB / 0.7891 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.4689, allocations: 19.97 kB / 0.7891 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.4697, allocations: 83.77 kB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.4699, allocations: 47.88 kB / 0.7892 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.47, allocations: 4 kB / 0.7892 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001339/0.4702, allocations: 35.89 kB / 0.7893 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.795e-05/0.4703, allocations: 23.91 kB / 0.7893 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.4703, allocations: 8 kB / 0.7893 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002879/0.4706, allocations: 71.81 kB / 0.7894 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.234e-05/0.4707, allocations: 11.98 kB / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.537e-05/0.4708, allocations: 37.64 kB / 0.7894 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.4711, allocations: 100 kB / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4711, allocations: 0 / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.569e-06/0.4711, allocations: 0 / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4711, allocations: 0 / 0.7895 GB, free: 9.516 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001111/0.4723, allocations: 429.3 kB / 0.7899 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.964e-05/0.4723, allocations: 12.03 kB / 0.7899 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001008/0.4725, allocations: 38.55 kB / 0.79 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.4725, allocations: 11.84 kB / 0.79 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.4728, allocations: 178.9 kB / 0.7902 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/0.4729, allocations: 3.938 kB / 0.7902 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.4729, allocations: 4 kB / 0.7902 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003188/0.4732, allocations: 77.64 kB / 0.7902 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.4732, allocations: 4 kB / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.098e-05/0.4733, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4733, allocations: 0 / 0.7902 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000222/0.4735, allocations: 43.97 kB / 0.7903 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008519/0.4744, allocations: 296.7 kB / 0.7906 GB, free: 8.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.4746, allocations: 62.48 kB / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.4747, allocations: 0 / 0.7906 GB, free: 8.207 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003115/0.475, allocations: 79.56 kB / 0.7907 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.794e-06/0.475, allocations: 4 kB / 0.7907 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0006404/0.4757, allocations: 145.5 kB / 0.7908 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.849e-05/0.4758, allocations: 59.36 kB / 0.7909 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001936/0.476, allocations: 129.7 kB / 0.791 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.686e-05/0.476, allocations: 25.7 kB / 0.791 GB, free: 7.727 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4761, allocations: 96.33 kB / 0.7911 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.4762, allocations: 15.8 kB / 0.7912 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.4762, allocations: 4 kB / 0.7912 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002466/0.4765, allocations: 310.8 kB / 0.7915 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/0.4766, allocations: 27.98 kB / 0.7915 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.4768, allocations: 65.12 kB / 0.7915 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.477, allocations: 24 kB / 0.7916 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.477, allocations: 3.938 kB / 0.7916 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004077/0.4774, allocations: 129.4 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.4775, allocations: 11.92 kB / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4775, allocations: 0 / 0.7917 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.4775, allocations: 4 kB / 0.7917 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.4777, allocations: 16 kB / 0.7917 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.4777, allocations: 8.109 kB / 0.7917 GB, free: 6.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.4778, allocations: 7.984 kB / 0.7917 GB, free: 6.98 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4778, allocations: 4.312 kB / 0.7917 GB, free: 6.977 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001958/0.4781, allocations: 125.7 kB / 0.7919 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.939e-05/0.4781, allocations: 7.906 kB / 0.7919 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.991e-05/0.4782, allocations: 12.36 kB / 0.7919 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.4782, allocations: 0 / 0.7919 GB, free: 6.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.4782, allocations: 4 kB / 0.7919 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.4782, allocations: 3.953 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008099/0.479, allocations: 382.5 kB / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4791, allocations: 0 / 0.7923 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.7e-05/0.4792, allocations: 15.88 kB / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4792, allocations: 0 / 0.7923 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.033e-05/0.4792, allocations: 7.984 kB / 0.7923 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.4792, allocations: 3.953 kB / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.4792, allocations: 0 / 0.7923 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005038/0.4797, allocations: 211.4 kB / 0.7925 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-05/0.4798, allocations: 81.02 kB / 0.7926 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.4799, allocations: 7.984 kB / 0.7926 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.48, allocations: 8 kB / 0.7926 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.021e-05/0.4801, allocations: 11.94 kB / 0.7926 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.4801, allocations: 4 kB / 0.7926 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001189/0.4803, allocations: 91.27 kB / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4803, allocations: 0 / 0.7927 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0006014/0.4809, allocations: 36 kB / 0.7927 GB, free: 5.883 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001647/0.4826, allocations: 0.8126 MB / 0.7935 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005872/0.4832, allocations: 79.88 kB / 0.7936 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.4832, allocations: 0 / 0.7936 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.4834, allocations: 43.86 kB / 0.7936 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.4838, allocations: 16.2 kB / 0.7936 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00197/0.4858, allocations: 1.19 MB / 0.7948 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.4863, allocations: 0.7028 MB / 0.7955 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.427e-05/0.4863, allocations: 192 / 0.7955 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.362e-05/0.4864, allocations: 23.42 kB / 0.7955 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of SimCode: time 8.01e-07/0.4864, allocations: 0 / 0.7955 GB, free: 2.918 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05275/0.5392, allocations: 2.289 MB / 0.7977 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005133/0.5398, allocations: 234 kB / 0.798 GB, free: 0.5391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.234/3.774, allocations: 0 / 0.798 GB, free: 0.5391 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_8_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) Environment - environmentSimulation: