Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.682/2.682, allocations: 287.5 MB / 302.4 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 173 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.206/2.206, allocations: 205.4 MB / 0.6297 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009632/0.0009633, allocations: 92.31 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007233/0.0007236, allocations: 11.06 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2452, allocations: 115.3 MB / 0.9785 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001853/0.2471, allocations: 1.191 MB / 0.9796 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001504/0.2486, allocations: 0.7151 MB / 0.9803 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.2487, allocations: 3.938 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.2487, allocations: 0 / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.2488, allocations: 7.875 kB / 0.9803 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005888/0.2494, allocations: 87.83 kB / 0.9804 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.2496, allocations: 71.72 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.645e-05/0.2497, allocations: 7.984 kB / 0.9805 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.577e-05/0.2498, allocations: 31.91 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.096e-05/0.2499, allocations: 31.91 kB / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.2499, allocations: 0 / 0.9805 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002395/0.2501, allocations: 83.84 kB / 0.9806 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.2502, allocations: 7.938 kB / 0.9806 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.182e-05/0.2502, allocations: 45.69 kB / 0.9807 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001784/0.2504, allocations: 96.05 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2504, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2504, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.2505, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 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.0005985/0.2511, allocations: 438.5 kB / 0.9812 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/0.2511, allocations: 12.02 kB / 0.9812 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.89e-05/0.2512, allocations: 30.56 kB / 0.9812 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.2512, allocations: 15.86 kB / 0.9812 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.404e-05/0.2513, allocations: 178.9 kB / 0.9814 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.885e-05/0.2514, allocations: 8 kB / 0.9814 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.2514, allocations: 4 kB / 0.9814 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.2516, allocations: 65.66 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/0.2517, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.2517, allocations: 7.938 kB / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2517, allocations: 0 / 0.9815 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002182/0.2519, allocations: 47.97 kB / 0.9815 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.2525, allocations: 304.6 kB / 0.9818 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.2527, allocations: 50.56 kB / 0.9819 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.2528, allocations: 36.97 kB / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.648e-05/0.2529, allocations: 0 / 0.9819 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.2531, allocations: 79.38 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.2532, allocations: 4 kB / 0.982 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005902/0.2538, allocations: 145.4 kB / 0.9821 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.2538, allocations: 59.39 kB / 0.9822 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.323e-05/0.2539, allocations: 121.8 kB / 0.9823 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.2539, allocations: 29.7 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.486e-05/0.254, allocations: 96.31 kB / 0.9824 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.254, allocations: 15.88 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.2541, allocations: 0 / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.812e-05/0.2541, allocations: 326.8 kB / 0.9828 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.2543, allocations: 23.98 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.2544, allocations: 61.14 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.2545, allocations: 35.92 kB / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2546, allocations: 0 / 0.9829 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003328/0.2549, allocations: 121.4 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.2549, allocations: 8 kB / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.255, allocations: 0 / 0.983 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.255, allocations: 7.953 kB / 0.983 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.2551, allocations: 11.98 kB / 0.983 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.2551, allocations: 4 kB / 0.983 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-05/0.2553, allocations: 12.16 kB / 0.983 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.2553, allocations: 4 kB / 0.983 GB, free: 23.3 MB / 0.6198 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 9.637e-05/0.2554, allocations: 136.2 kB / 0.9832 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.993e-05/0.2554, allocations: 3.906 kB / 0.9832 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.2555, allocations: 12.38 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.2555, allocations: 0 / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.2555, allocations: 3.953 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2555, allocations: 4 kB / 0.9832 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.2561, allocations: 374.5 kB / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.686e-06/0.2561, allocations: 0 / 0.9835 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.289e-05/0.2562, allocations: 11.98 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.2562, allocations: 0 / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.2562, allocations: 7.953 kB / 0.9836 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.2562, allocations: 4 kB / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2562, allocations: 0 / 0.9836 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.2566, allocations: 227.7 kB / 0.9838 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.839e-05/0.2567, allocations: 81.02 kB / 0.9839 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.2567, allocations: 4 kB / 0.9839 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.2569, allocations: 11.95 kB / 0.9839 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.527e-05/0.2569, allocations: 11.86 kB / 0.9839 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.257, allocations: 4 kB / 0.9839 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.257, allocations: 95.27 kB / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.5e-07/0.257, allocations: 0 / 0.984 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003954/0.2574, allocations: 35.98 kB / 0.984 GB, free: 22.2 MB / 0.6198 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.0009343/0.2584, allocations: 0.7995 MB / 0.9848 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003312/0.2587, allocations: 79.88 kB / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2587, allocations: 0 / 0.9849 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.2589, allocations: 39.92 kB / 0.9849 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.2593, allocations: 19.88 kB / 0.9849 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.2605, allocations: 0.6034 MB / 0.9855 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.2607, allocations: 0.6926 MB / 0.9862 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.18e-05/0.2608, allocations: 12.27 kB / 0.9862 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.2608, allocations: 15.42 kB / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of SimCode: time 8.42e-07/0.2608, allocations: 0 / 0.9862 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02087/0.2817, allocations: 2.329 MB / 0.9885 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002497/0.282, allocations: 247 kB / 0.9887 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.673/2.955, allocations: 2.656 kB / 0.9887 GB, free: 17.44 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_8.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1)