Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.512/1.512, allocations: 252 MB / 267 MB, free: 10.97 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001576/0.001576, allocations: 178.2 kB / 326.6 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.027/2.027, allocations: 205.4 MB / 0.5777 GB, free: 20.28 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007916/0.0007919, allocations: 96.12 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004664, allocations: 10 kB / 0.7964 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2582/0.2587, allocations: 106.3 MB / 0.9003 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001906/0.2606, allocations: 1.192 MB / 0.9015 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.2618, allocations: 0.7178 MB / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.004e-05/0.2619, allocations: 0 / 0.9022 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.262, allocations: 11.86 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.973e-05/0.262, allocations: 15.86 kB / 0.9022 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004791/0.2625, allocations: 99.77 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.31e-05/0.2626, allocations: 63.72 kB / 0.9023 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.697e-05/0.2627, allocations: 4 kB / 0.9024 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.35e-05/0.2628, allocations: 27.92 kB / 0.9024 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.745e-05/0.2629, allocations: 31.89 kB / 0.9024 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.669e-05/0.2629, allocations: 4 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.2631, allocations: 83.84 kB / 0.9025 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.2631, allocations: 11.98 kB / 0.9025 GB, free: 61.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.2631, allocations: 41.64 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.2633, allocations: 87.84 kB / 0.9026 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.2633, allocations: 3.984 kB / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.246e-06/0.2633, allocations: 0 / 0.9026 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.2633, allocations: 0 / 0.9026 GB, free: 61.43 MB / 0.6042 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.0005777/0.2639, allocations: 430.9 kB / 0.903 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.2639, allocations: 8.031 kB / 0.9031 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.264, allocations: 38.55 kB / 0.9031 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.021e-05/0.264, allocations: 15.86 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.2641, allocations: 170.9 kB / 0.9033 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.2642, allocations: 15.88 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.592e-05/0.2642, allocations: 4 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.2644, allocations: 69.64 kB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.2644, allocations: 0 / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2644, allocations: 4 kB / 0.9034 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.2644, allocations: 4 kB / 0.9034 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.2646, allocations: 47.95 kB / 0.9034 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.265, allocations: 288.8 kB / 0.9037 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.2651, allocations: 66.48 kB / 0.9037 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.388e-05/0.2652, allocations: 32.97 kB / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.2653, allocations: 0 / 0.9038 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.2655, allocations: 83.44 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.282e-06/0.2655, allocations: 4 kB / 0.9039 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003865/0.2659, allocations: 149.4 kB / 0.904 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.2659, allocations: 51.41 kB / 0.904 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.208e-05/0.266, allocations: 121.8 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.266, allocations: 29.7 kB / 0.9042 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.2661, allocations: 96.23 kB / 0.9043 GB, free: 59.51 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/0.2661, allocations: 19.83 kB / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.979e-06/0.2661, allocations: 0 / 0.9043 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.2662, allocations: 314.8 kB / 0.9046 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.2662, allocations: 23.98 kB / 0.9046 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.688e-05/0.2663, allocations: 73.06 kB / 0.9047 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.447e-05/0.2664, allocations: 31.92 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2664, allocations: 4 kB / 0.9047 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001903/0.2666, allocations: 121.4 kB / 0.9048 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2666, allocations: 4 kB / 0.9049 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.2666, allocations: 3.938 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2667, allocations: 7.953 kB / 0.9049 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.475e-05/0.2667, allocations: 12 kB / 0.9049 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2668, allocations: 8.141 kB / 0.9049 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.206e-05/0.2668, allocations: 15.91 kB / 0.9049 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.287e-05/0.2669, allocations: 4 kB / 0.9049 GB, free: 58.85 MB / 0.6042 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 7.534e-05/0.2669, allocations: 120 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.276e-05/0.267, allocations: 4 kB / 0.905 GB, free: 58.72 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.101e-05/0.267, allocations: 12.36 kB / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.267, allocations: 0 / 0.905 GB, free: 58.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.267, allocations: 3.953 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.267, allocations: 8 kB / 0.905 GB, free: 58.7 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.2674, allocations: 382.4 kB / 0.9054 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2674, allocations: 3.938 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.2674, allocations: 4 kB / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.2674, allocations: 0 / 0.9054 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.2675, allocations: 11.94 kB / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2675, allocations: 0 / 0.9054 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2675, allocations: 4.391 kB / 0.9054 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002415/0.2677, allocations: 215.4 kB / 0.9056 GB, free: 58.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.419e-05/0.2677, allocations: 85.09 kB / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.2678, allocations: 0 / 0.9057 GB, free: 57.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.947e-05/0.2679, allocations: 11.95 kB / 0.9057 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.2679, allocations: 7.984 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.2679, allocations: 0 / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.437e-05/0.268, allocations: 95.92 kB / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.31e-07/0.268, allocations: 0 / 0.9058 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000295/0.2683, allocations: 36 kB / 0.9059 GB, free: 57.77 MB / 0.6042 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.0006198/0.2689, allocations: 0.8195 MB / 0.9067 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002117/0.2691, allocations: 79.89 kB / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2691, allocations: 0 / 0.9067 GB, free: 56.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.277e-05/0.2692, allocations: 35.92 kB / 0.9068 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.2695, allocations: 19.12 kB / 0.9068 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008633/0.2704, allocations: 0.6097 MB / 0.9074 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2705, allocations: 0.6926 MB / 0.9081 GB, free: 55.42 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.424e-05/0.2705, allocations: 4.188 kB / 0.9081 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.2706, allocations: 23.42 kB / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of SimCode: time 4.41e-07/0.2706, allocations: 0 / 0.9081 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.2835, allocations: 2.327 MB / 0.9104 GB, free: 53.24 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001822/0.2837, allocations: 255.8 kB / 0.9106 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.01, allocations: 0 / 0.9106 GB, free: 52.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)