Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.767/1.767, allocations: 288.2 MB / 303.2 MB, free: 8.113 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.001297/0.001297, allocations: 181.5 kB / 371.8 MB, free: 10.28 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.136/2.136, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.00103/0.00103, allocations: 105.6 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000423/0.0004232, allocations: 15.25 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2618, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001871/0.2637, allocations: 1.187 MB / 0.9806 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00143/0.2652, allocations: 0.7189 MB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.2652, allocations: 0 / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.16e-05/0.2653, allocations: 3.938 kB / 0.9813 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.688e-05/0.2654, allocations: 19.97 kB / 0.9814 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.266, allocations: 91.69 kB / 0.9814 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.39e-05/0.2661, allocations: 39.95 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.2662, allocations: 11.98 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.39e-05/0.2663, allocations: 27.91 kB / 0.9815 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.332e-05/0.2664, allocations: 31.84 kB / 0.9816 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.2664, allocations: 8 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002005/0.2666, allocations: 67.88 kB / 0.9816 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.27e-05/0.2667, allocations: 11.92 kB / 0.9816 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.2667, allocations: 41.69 kB / 0.9817 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001881/0.2669, allocations: 92.06 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2669, allocations: 0 / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.993e-06/0.2669, allocations: 0 / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.267, allocations: 0 / 0.9818 GB, free: 25.26 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.0005995/0.2676, allocations: 434.5 kB / 0.9822 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.2676, allocations: 12.02 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.033e-05/0.2677, allocations: 34.56 kB / 0.9822 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.2677, allocations: 7.906 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.2679, allocations: 182.9 kB / 0.9824 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.2679, allocations: 7.938 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.2679, allocations: 8 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.2682, allocations: 69.66 kB / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.2682, allocations: 0 / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.2682, allocations: 0 / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2682, allocations: 0 / 0.9825 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001969/0.2684, allocations: 43.97 kB / 0.9825 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.269, allocations: 304.7 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.2692, allocations: 50.56 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.2692, allocations: 0 / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.2695, allocations: 87.56 kB / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.774e-06/0.2695, allocations: 0 / 0.9829 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0005371/0.27, allocations: 145.5 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.761e-05/0.2701, allocations: 59.3 kB / 0.9831 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.856e-05/0.2702, allocations: 125.8 kB / 0.9833 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2702, allocations: 29.7 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.2703, allocations: 92.33 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.2703, allocations: 15.8 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/0.2703, allocations: 4 kB / 0.9834 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.798e-05/0.2704, allocations: 314.8 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001179/0.2705, allocations: 23.98 kB / 0.9837 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001248/0.2707, allocations: 69.12 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.2708, allocations: 35.92 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2708, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003204/0.2711, allocations: 121.4 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2712, allocations: 4 kB / 0.9839 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.2712, allocations: 4 kB / 0.9839 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.2712, allocations: 7.969 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.2713, allocations: 16.14 kB / 0.984 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.2714, allocations: 7.953 kB / 0.984 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.77e-05/0.2715, allocations: 8 kB / 0.984 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.2715, allocations: 7.938 kB / 0.984 GB, free: 22.71 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.178e-05/0.2716, allocations: 121.8 kB / 0.9841 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.2716, allocations: 7.906 kB / 0.9841 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.2717, allocations: 8.359 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2717, allocations: 0 / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2717, allocations: 8 kB / 0.9841 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2717, allocations: 3.953 kB / 0.9841 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005253/0.2722, allocations: 382.5 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.2723, allocations: 0 / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.2723, allocations: 4 kB / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.2723, allocations: 0 / 0.9845 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.576e-05/0.2724, allocations: 7.984 kB / 0.9845 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.2724, allocations: 11.95 kB / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2724, allocations: 0 / 0.9845 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.2728, allocations: 207.8 kB / 0.9847 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.2728, allocations: 89 kB / 0.9848 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.2728, allocations: 4 kB / 0.9848 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.273, allocations: 11.94 kB / 0.9848 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.2731, allocations: 11.94 kB / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.2731, allocations: 0 / 0.9848 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.478e-05/0.2731, allocations: 95.86 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2732, allocations: 4 kB / 0.9849 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005195/0.2737, allocations: 39.98 kB / 0.985 GB, free: 21.62 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.000897/0.2746, allocations: 0.7977 MB / 0.9857 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002832/0.2749, allocations: 79.89 kB / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.2749, allocations: 0 / 0.9858 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.2751, allocations: 39.92 kB / 0.9859 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.2754, allocations: 17.88 kB / 0.9859 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009146/0.2763, allocations: 1.197 MB / 0.987 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001314/0.2765, allocations: 0.6926 MB / 0.9877 GB, free: 18.69 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.982e-05/0.2765, allocations: 12.25 kB / 0.9877 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.817e-05/0.2766, allocations: 15.44 kB / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of SimCode: time 3.3e-07/0.2766, allocations: 0 / 0.9877 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01422/0.2908, allocations: 2.306 MB / 0.99 GB, free: 16.51 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001726/0.291, allocations: 247.7 kB / 0.9902 GB, free: 16.23 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.916, allocations: 0 / 0.9902 GB, free: 16.23 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_maint.8.0.x_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1)