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.487/1.487, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001183/0.001183, allocations: 176.1 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.899/1.899, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0008832/0.0008831, allocations: 88.47 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003667, allocations: 9.312 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2656, allocations: 106.4 MB / 0.9002 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001595/0.2672, allocations: 1.188 MB / 0.9013 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009911/0.2683, allocations: 0.7225 MB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.2683, allocations: 4 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.678e-05/0.2683, allocations: 7.938 kB / 0.902 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.611e-05/0.2684, allocations: 7.984 kB / 0.902 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.2688, allocations: 95.69 kB / 0.9021 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.2689, allocations: 43.88 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.395e-05/0.269, allocations: 8 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.392e-05/0.2691, allocations: 31.91 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.879e-05/0.2692, allocations: 27.91 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.2692, allocations: 3.938 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.2693, allocations: 71.92 kB / 0.9023 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.775e-05/0.2693, allocations: 11.98 kB / 0.9023 GB, free: 61.63 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.283e-05/0.2694, allocations: 33.64 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001392/0.2695, allocations: 91.78 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.795e-06/0.2695, allocations: 4 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.382e-06/0.2695, allocations: 3.938 kB / 0.9024 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.2696, allocations: 0 / 0.9024 GB, free: 61.49 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.0004851/0.2701, allocations: 434.9 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.2701, allocations: 8.031 kB / 0.9029 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.951e-05/0.2701, allocations: 30.56 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.267e-05/0.2702, allocations: 19.84 kB / 0.9029 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.478e-05/0.2703, allocations: 178.8 kB / 0.9031 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.602e-05/0.2703, allocations: 4 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.2703, allocations: 4 kB / 0.9031 GB, free: 60.72 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.2705, allocations: 73.66 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2706, allocations: 0 / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.2706, allocations: 0 / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.2706, allocations: 4 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.2707, allocations: 39.97 kB / 0.9032 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.2712, allocations: 296.8 kB / 0.9035 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2713, allocations: 50.5 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.2713, allocations: 4.125 kB / 0.9035 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.2715, allocations: 87.44 kB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.2715, allocations: 0 / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003599/0.2719, allocations: 153.4 kB / 0.9038 GB, free: 59.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.2719, allocations: 63.41 kB / 0.9038 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.791e-05/0.272, allocations: 113.8 kB / 0.9039 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.272, allocations: 33.69 kB / 0.904 GB, free: 59.71 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.834e-05/0.2721, allocations: 88.23 kB / 0.9041 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.2721, allocations: 15.84 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.2721, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.298e-05/0.2722, allocations: 322.8 kB / 0.9044 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.608e-05/0.2722, allocations: 23.98 kB / 0.9044 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-05/0.2723, allocations: 61.14 kB / 0.9045 GB, free: 59.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.341e-05/0.2724, allocations: 43.91 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.2724, allocations: 0 / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001857/0.2726, allocations: 117.4 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2726, allocations: 4 kB / 0.9046 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2726, allocations: 4.156 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.2727, allocations: 4 kB / 0.9046 GB, free: 59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.941e-05/0.2727, allocations: 19.94 kB / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.2727, allocations: 320 / 0.9046 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.2728, allocations: 15.91 kB / 0.9047 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.2728, allocations: 7.984 kB / 0.9047 GB, free: 58.96 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 6.939e-05/0.2729, allocations: 117.8 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.2729, allocations: 4 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.273, allocations: 12.38 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.273, allocations: 7.938 kB / 0.9048 GB, free: 58.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.273, allocations: 3.953 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.273, allocations: 4 kB / 0.9048 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.2733, allocations: 386.4 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.2733, allocations: 7.875 kB / 0.9052 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.2734, allocations: 11.98 kB / 0.9052 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.2734, allocations: 0 / 0.9052 GB, free: 58.35 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.2734, allocations: 11.95 kB / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2734, allocations: 0 / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.2734, allocations: 0 / 0.9052 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.2737, allocations: 215.4 kB / 0.9054 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.34e-05/0.2737, allocations: 81.11 kB / 0.9055 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.876e-05/0.2737, allocations: 0 / 0.9055 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.2738, allocations: 11.94 kB / 0.9055 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/0.2739, allocations: 8 kB / 0.9055 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/0.2739, allocations: 3.984 kB / 0.9055 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.242e-05/0.2739, allocations: 99.86 kB / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2739, allocations: 0 / 0.9056 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002772/0.2742, allocations: 36 kB / 0.9056 GB, free: 57.86 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.0006102/0.2748, allocations: 0.8074 MB / 0.9064 GB, free: 57.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002026/0.275, allocations: 71.91 kB / 0.9065 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.275, allocations: 0 / 0.9065 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.375e-05/0.2751, allocations: 48.22 kB / 0.9066 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001789/0.2753, allocations: 12.28 kB / 0.9066 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.276, allocations: 1.201 MB / 0.9077 GB, free: 55.64 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001157/0.2761, allocations: 0.6887 MB / 0.9084 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.491e-05/0.2762, allocations: 4.188 kB / 0.9084 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.737e-05/0.2762, allocations: 23.42 kB / 0.9084 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2762, allocations: 0 / 0.9084 GB, free: 54.9 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01382/0.29, allocations: 2.303 MB / 0.9107 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/0.2903, allocations: 243.9 kB / 0.9109 GB, free: 52.49 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.909, allocations: 0 / 0.9109 GB, free: 52.49 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)