Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.401/1.401, 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.001082/0.001082, allocations: 184.9 kB / 326.6 MB, free: 2.215 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.186/2.186, allocations: 205.4 MB / 0.5777 GB, free: 20.55 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.0008064/0.0008062, allocations: 92.2 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003732/0.0003732, allocations: 9.484 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2827, allocations: 106.3 MB / 0.9003 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001624/0.2844, allocations: 1.192 MB / 0.9015 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.2855, allocations: 0.7217 MB / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.129e-05/0.2855, allocations: 0 / 0.9022 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2856, allocations: 7.875 kB / 0.9022 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.2856, allocations: 11.92 kB / 0.9022 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004352/0.2861, allocations: 91.77 kB / 0.9023 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.027e-05/0.2862, allocations: 67.72 kB / 0.9023 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.458e-05/0.2863, allocations: 11.98 kB / 0.9024 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.759e-05/0.2864, allocations: 27.92 kB / 0.9024 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.2864, allocations: 27.89 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.628e-05/0.2865, allocations: 4 kB / 0.9024 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.2866, allocations: 87.84 kB / 0.9025 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.632e-05/0.2867, allocations: 11.98 kB / 0.9025 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.2867, allocations: 41.58 kB / 0.9025 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.2869, allocations: 95.83 kB / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.623e-06/0.2869, allocations: 0 / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.086e-06/0.2869, allocations: 0 / 0.9026 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2869, allocations: 0 / 0.9026 GB, free: 61.78 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.0005177/0.2874, allocations: 430.9 kB / 0.903 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2875, allocations: 8.031 kB / 0.9031 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.829e-05/0.2875, allocations: 38.56 kB / 0.9031 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.345e-05/0.2876, allocations: 11.86 kB / 0.9031 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.794e-05/0.2876, allocations: 178.8 kB / 0.9033 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.429e-05/0.2877, allocations: 7.938 kB / 0.9033 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2877, allocations: 8 kB / 0.9033 GB, free: 61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.2879, allocations: 65.66 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.2879, allocations: 0 / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.2879, allocations: 0 / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2879, allocations: 4 kB / 0.9034 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.2881, allocations: 47.95 kB / 0.9034 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.2885, allocations: 296.8 kB / 0.9037 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.2886, allocations: 62.5 kB / 0.9037 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.13e-05/0.2887, allocations: 32.97 kB / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.2887, allocations: 0 / 0.9038 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002052/0.289, allocations: 75.38 kB / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.542e-06/0.289, allocations: 0 / 0.9038 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003822/0.2894, allocations: 161.4 kB / 0.904 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.217e-05/0.2894, allocations: 51.41 kB / 0.9041 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.723e-05/0.2895, allocations: 117.8 kB / 0.9042 GB, free: 60 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.2895, allocations: 25.7 kB / 0.9042 GB, free: 59.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.2895, allocations: 104.2 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.458e-05/0.2896, allocations: 15.91 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-06/0.2896, allocations: 4 kB / 0.9043 GB, free: 59.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.938e-05/0.2896, allocations: 318.8 kB / 0.9046 GB, free: 59.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.2897, allocations: 23.98 kB / 0.9046 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.2898, allocations: 65.58 kB / 0.9047 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.636e-05/0.2899, allocations: 31.92 kB / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2899, allocations: 4 kB / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001917/0.2901, allocations: 121.4 kB / 0.9048 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.2901, allocations: 7.938 kB / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.2901, allocations: 0 / 0.9049 GB, free: 59.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2901, allocations: 7.953 kB / 0.9049 GB, free: 59.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.437e-05/0.2902, allocations: 15.98 kB / 0.9049 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2902, allocations: 0 / 0.9049 GB, free: 59.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.2903, allocations: 16.06 kB / 0.9049 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.335e-05/0.2903, allocations: 11.92 kB / 0.9049 GB, free: 59.2 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.806e-05/0.2904, allocations: 121.8 kB / 0.905 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.207e-05/0.2904, allocations: 4 kB / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.575e-05/0.2904, allocations: 4.375 kB / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2904, allocations: 0 / 0.905 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.2905, allocations: 3.953 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.2905, allocations: 4 kB / 0.905 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/0.2908, allocations: 386.7 kB / 0.9054 GB, free: 58.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2908, allocations: 4 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.2909, allocations: 7.984 kB / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2909, allocations: 0 / 0.9054 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.2909, allocations: 3.953 kB / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.2909, allocations: 0 / 0.9054 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2909, allocations: 8 kB / 0.9054 GB, free: 58.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.2912, allocations: 215.5 kB / 0.9056 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.232e-05/0.2912, allocations: 85.05 kB / 0.9057 GB, free: 58.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.2912, allocations: 4 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.873e-05/0.2913, allocations: 15.94 kB / 0.9057 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.2914, allocations: 4 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.2914, allocations: 3.984 kB / 0.9057 GB, free: 58.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.235e-05/0.2914, allocations: 91.44 kB / 0.9058 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.072e-06/0.2914, allocations: 0 / 0.9058 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002659/0.2917, allocations: 43.92 kB / 0.9059 GB, free: 58.11 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.0006269/0.2923, allocations: 0.8058 MB / 0.9067 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.2926, allocations: 75.91 kB / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2926, allocations: 0 / 0.9067 GB, free: 57.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.813e-05/0.2927, allocations: 43.91 kB / 0.9068 GB, free: 57.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.293, allocations: 14.89 kB / 0.9068 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009175/0.2939, allocations: 0.6108 MB / 0.9074 GB, free: 56.49 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.294, allocations: 0.6848 MB / 0.9081 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.392e-05/0.294, allocations: 12.17 kB / 0.9081 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.485e-05/0.2941, allocations: 19.44 kB / 0.9081 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.2941, allocations: 0 / 0.9081 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.3088, allocations: 2.345 MB / 0.9104 GB, free: 53.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002403/0.3092, allocations: 244.5 kB / 0.9106 GB, free: 53.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/1.928, allocations: 0 / 0.9106 GB, free: 53.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_maint.7.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)